globus_callback(3)
β¨ globus_callback β¨
okay bestie, welcome to Globus Callback π this is from the Library Functions Manual, and it's literally the Globus Callback Function Interface. yes that's a lot of "callback" in one sentence. we move.
πΈ SYNOPSIS πΈ
π Topics
- Globus Callback API β the Globus Callback API, bestie.
- Globus Callback Spaces β Globus Callback Spaces.
- Globus Callback Signal Handling β Globus Callback Signal Handling.
π Macros
#define GLOBUS_CALLBACK_MODULEβ Module descriptor.#define GLOBUS_POLL_MODULEβ Module descriptor.
π Typedefs
typedef int globus_callback_handle_tβ Periodic callback handle.typedef int globus_callback_space_tβ Callback space handle.typedef struct globus_l_callback_space_attr_s * globus_callback_space_attr_tβ Callback space attribute.
π Enumerations
enum globus_callback_error_type_t {β Error types.
GLOBUS_CALLBACK_ERROR_INVALID_CALLBACK_HANDLE = 1024,
GLOBUS_CALLBACK_ERROR_INVALID_SPACE,
GLOBUS_CALLBACK_ERROR_MEMORY_ALLOC,
GLOBUS_CALLBACK_ERROR_INVALID_ARGUMENT,
GLOBUS_CALLBACK_ERROR_ALREADY_CANCELED,
GLOBUS_CALLBACK_ERROR_NO_ACTIVE_CALLBACK }
π Detailed Description π
Globus Callback Function Interface. that's the whole vibe. slay.
π¦ Macro Definition Documentation π¦
π #define GLOBUS_CALLBACK_MODULE
Module descriptor. it's the module descriptor for the globus_callback module, bestie. you must activate it before you call any of the api below. no skipping steps, fr fr.
Note: you would not normally activate this module directly. activating the GLOBUS_COMMON_MODULE will in turn activate this one too. so like⦠it handles it for you. iconic behaviour honestly.
π #define GLOBUS_POLL_MODULE
Module descriptor.
Deprecated β it's a backward compatible name. yes bestie, deprecated. it still works but the way it's giving legacy π
π Typedef Documentation π
π typedef int globus_callback_handle_t
Periodic callback handle. you can copy it, you can compare it, and you can represent it as NULL with GLOBUS_NULL_HANDLE. easy peasy π
π typedef struct globus_l_callback_space_attr_s* globus_callback_space_attr_t
Callback space attribute. this handle can be copied, and you represent it as NULL with GLOBUS_NULL. that's it, that's the whole thing β¨
π typedef int globus_callback_space_t
Callback space handle. copy it, compare it, and represent it as NULL with GLOBUS_NULL_HANDLE. same energy as the other handle, honestly π
π Enumeration Type Documentation π
π enum globus_callback_error_type_t
Error types. these are the possible error types the api in this module returns, and you can use the error API to check your results against them. so handy.
See also: Error Handling Helpers
π§ Enumerator π§
GLOBUS_CALLBACK_ERROR_INVALID_CALLBACK_HANDLEβ the callback handle is not valid, or it has already been destroyed πGLOBUS_CALLBACK_ERROR_INVALID_SPACEβ the space handle is not valid, or it has already been destroyed πGLOBUS_CALLBACK_ERROR_MEMORY_ALLOCβ could not allocate memory for an internal structure πGLOBUS_CALLBACK_ERROR_INVALID_ARGUMENTβ one of the arguments isNULLor out of range πGLOBUS_CALLBACK_ERROR_ALREADY_CANCELEDβ attempt to unregister callback again πGLOBUS_CALLBACK_ERROR_NO_ACTIVE_CALLBACKβ attempt to retrieve info about a callback not in caller's stack π«
π Author π
Generated automatically by Doxygen for globus_common from the source code. the robot did the writing, we just did the vibes π
okay that's the whole page bestie, and for the cute sign-off: this is from globus_common, Version 18.15, dated as globus_callback(3) β periodt, that's the page number too πΈβ¨π«Ά
π¦ where this page comes from
- fedora 44: globus-common-doc 18.15-2.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-common-doc 18.15-1 Β· Apache-2.0
- ubuntu stonking: libglobus-common-doc 18.15-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms