00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00030 #if !defined(GLOBUS_THREAD_POOL_H)
00031 #define GLOBUS_THREAD_POOL_H 1
00032
00033 #include "globus_common_include.h"
00034 #include "globus_thread.h"
00035
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039
00040 int
00041 globus_i_thread_pool_activate(void);
00042
00043 int
00044 globus_i_thread_pool_deactivate(void);
00045
00046 void
00047 globus_i_thread_start(
00048 globus_thread_func_t func,
00049 void * user_arg);
00050
00051 int
00052 globus_thread_pool_key_create(
00053 globus_thread_key_t * key,
00054 globus_thread_key_destructor_func_t func);
00055
00056
00057
00058
00059 extern globus_module_descriptor_t globus_i_thread_pool_module;
00060
00061 #define GLOBUS_THREAD_POOL_MODULE (&globus_i_thread_pool_module)
00062
00063 #ifdef __cplusplus
00064 }
00065 #endif
00066 #endif