Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

glb_init_all()

Initializes and establishes a connection with all License Scheduler daemons.

DESCRIPTION

glb_init_all() is a routine that initializes and establishes a connection with all License Scheduler daemons specified in lsf.licensescheduler. This is useful when there are multiple License Scheduler master and slave daemons running for failover purposes.

SYNOPSIS

#include <glb/glb.h> 
link_t *glb_init_all() {
    return *link_t;
};

typedef struct link_t {
    int num;
    void *ptr;
    struct link_t *next
}; 

RETURN VALUES

*link_t:

A linked list of License Scheduler daemon handles that glb_init_all() initialises and connects to.

ERRORS

On failure, glberrno is set to indicate the error.

SEE ALSO

Related APIs

glb_close_all() - Closes the connections to all License Scheduler daemons

Files

LSF_CONFDIR/lsf.licensescheduler


Platform Computing Inc.
www.platform.com
Knowledge Center         Contents    Previous  Next