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