globus_sch...erator_api(3)
π NAME π
globus_scheduler_event_generator_api β Scheduler Implementation API β¨
ok bestie, this is the manual for globus_sch...erator_api(3) and it's literally all about how a SEG module (scheduler-specific) gets to spill the tea to the Job State Monitor. no cap.
β¨ 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. and the events fire whenever a job:
- gets placed in the scheduler's queue (
PENDING) π - begins execution (
ACTIVE) π₯ - terminates successfully (
DONE) β - or ends abnormally (
FAILED) π
so basically the whole job lifecycle, main character energy from start to finish.
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. π«Ά
and listen β all events should be triggered from callbacks. not vibes, not guesses. 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. π§
like, don't ghost your callbacks mid-flight, that's so not the move.
π ENUMERATION TYPE DOCUMENTATION π
enum globus_scheduler_event_generator_error_t
Error types used by the SEG. π iconic error catalogue fr fr.
Enumerator
GLOBUS_SEG_ERROR_TYPE_NULLβ NULL ParameterGLOBUS_SEG_ERROR_TYPE_ALREADY_SETβ Already called a one-time functionGLOBUS_SEG_ERROR_TYPE_INVALID_MODULEβ Shared module missing descriptorGLOBUS_SEG_ERROR_TYPE_INVALID_FORMATβ Invalid printf format for SEG protocol messageGLOBUS_SEG_ERROR_TYPE_OUT_OF_MEMORYβ Out of memoryGLOBUS_SEG_ERROR_TYPE_LOADING_MODULEβ Unable to load scheduler module
π AUTHOR π
Generated automatically by Doxygen for globus_scheduler_event_generator from the source code. π€β¨
k that's the whole page bestie, slay. this came from globus_scheduler_event_generator, Version 6.6, and it's filed under globus_sch...erator_api(3). go forth and dispatch your events properly πππ¦
π¦ where this page comes from
- epel 10: globus-scheduler-event-generator-doc 6.6-1.el10_2 Β· Apache-2.0
- fedora 43: globus-scheduler-event-generator-doc 6.6-1.fc43 Β· Apache-2.0
- fedora 44: globus-scheduler-event-generator-doc 6.6-2.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-scheduler-event-generator-doc 6.6-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms