Scroll to navigation

globus_scheduler_event_generator_api(3) Library Functions Manual globus_scheduler_event_generator_api(3)

NAME

globus_scheduler_event_generator_api - Scheduler Implementation API


- Scheduler Implementation API.

SYNOPSIS

Enumerations


enum globus_scheduler_event_generator_error_t { GLOBUS_SEG_ERROR_TYPE_NULL = 1024, GLOBUS_SEG_ERROR_TYPE_ALREADY_SET, GLOBUS_SEG_ERROR_TYPE_INVALID_MODULE, GLOBUS_SEG_ERROR_TYPE_INVALID_FORMAT, GLOBUS_SEG_ERROR_TYPE_OUT_OF_MEMORY, GLOBUS_SEG_ERROR_TYPE_LOADING_MODULE }

Detailed Description

Scheduler Implementation API.

Scheduler-specific SEG module implementations use this API to issue events to the Job State Monitor. Events occur whenever a job is placed in the scheduler's queue (PENDING), begins execution (ACTIVE), terminates successfully (DONE), or ends abnormally (FAILED).

A SEG module should register an event with the Globus event driver (most likely using either the Globus Callback or Globus XIO interfaces) in its activation function and then return. All events should be triggered from callbacks. When the SEG detects that it should terminate, it will deactivate the SEG module it started. The SEG module should wait for any outstanding callbacks to subside and before returning from its deactivation function to ensure that all events will be properly dispatched. After deactivation is complete, the SEG will unload the shared module and terminate.

Enumeration Type Documentation

enum globus_scheduler_event_generator_error_t

Error types used by the SEG.

Enumerator

NULL Parameter
Already called a one-time function
Shared module missing descriptor
Invalid printf format for SEG protocol message
Out of memory
Unable to load scheduler module

Author

Generated automatically by Doxygen for globus_scheduler_event_generator from the source code.

Version 6.5 globus_scheduler_event_generator