22 #ifndef GLOBUS_THREAD_COMMON_H 23 #define GLOBUS_THREAD_COMMON_H 36 #define GLOBUS_THREAD_COMMON_MODULE (&globus_i_thread_common_module) 38 typedef int globus_thread_callback_index_t;
43 (*globus_thread_blocking_func_t)(
44 globus_thread_callback_index_t ndx,
48 #define globus_thread_blocking_callback_push(f, u, i) \ 49 globus_thread_blocking_space_callback_push( \ 50 (f), (u), GLOBUS_CALLBACK_GLOBAL_SPACE, (i)) 53 globus_thread_blocking_space_callback_push(
54 globus_thread_blocking_func_t func,
57 globus_thread_callback_index_t * i);
60 globus_thread_blocking_callback_pop(
61 globus_thread_callback_index_t * i);
64 globus_thread_blocking_callback_enable(
65 globus_thread_callback_index_t * i);
69 globus_thread_blocking_callback_disable(
70 globus_thread_callback_index_t * i);
72 #define globus_thread_blocking_will_block() \ 73 globus_thread_blocking_space_will_block(GLOBUS_CALLBACK_GLOBAL_SPACE) 76 globus_thread_blocking_space_will_block(
80 globus_thread_blocking_reset();
82 void thread_print(
char * s, ...);
Reference Counting Module Activation and Deactivation.
int globus_callback_space_t
Callback space handle.
Definition: globus_callback.h:112
Module Descriptor.
Definition: globus_module.h:69