globus_common 18.13
Loading...
Searching...
No Matches
globus_thread_pool.h
Go to the documentation of this file.
1/*
2 * Copyright 1999-2006 University of Chicago
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
21
31
32#if !defined(GLOBUS_THREAD_POOL_H)
33#define GLOBUS_THREAD_POOL_H 1
34
36#include "globus_thread.h"
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42int
43globus_i_thread_pool_activate(void);
44
45int
46globus_i_thread_pool_deactivate(void);
47
48void
49globus_i_thread_start(
50 globus_thread_func_t func,
51 void * user_arg);
52
53int
54globus_thread_pool_key_create(
57
58/******************************************************************************
59 Module definition
60******************************************************************************/
61extern globus_module_descriptor_t globus_i_thread_pool_module;
62
63#define GLOBUS_THREAD_POOL_MODULE (&globus_i_thread_pool_module)
64
65#ifdef __cplusplus
66}
67#endif
68#endif
Include System Headers.
Globus Threading Abstraction.
void(* globus_thread_key_destructor_func_t)(void *value)
Thread-specific data destructor.
Definition globus_thread.h:195
Thread-specific data key.
Definition globus_thread.h:202