globus_common  17.10
globus_thread_pool.h
Go to the documentation of this file.
1 
15 #if !defined(GLOBUS_THREAD_POOL_H)
16 #define GLOBUS_THREAD_POOL_H 1
17 
18 #include "globus_common_include.h"
19 #include "globus_thread.h"
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 int
26 globus_i_thread_pool_activate(void);
27 
28 int
29 globus_i_thread_pool_deactivate(void);
30 
31 void
32 globus_i_thread_start(
33  globus_thread_func_t func,
34  void * user_arg);
35 
36 int
37 globus_thread_pool_key_create(
38  globus_thread_key_t * key,
40 
41 /******************************************************************************
42  Module definition
43 ******************************************************************************/
44 extern globus_module_descriptor_t globus_i_thread_pool_module;
45 
46 #define GLOBUS_THREAD_POOL_MODULE (&globus_i_thread_pool_module)
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 #endif
Include System Headers.
Globus Threading Abstraction.
void(* globus_thread_key_destructor_func_t)(void *value)
Thread-specific data destructor.
Definition: globus_thread.h:179
Module Descriptor.
Definition: globus_module.h:55
Thread-specific data key.
Definition: globus_thread.h:186