Apache2
apr_thread_cond.h
Go to the documentation of this file.
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2  * contributor license agreements. See the NOTICE file distributed with
3  * this work for additional information regarding copyright ownership.
4  * The ASF licenses this file to You under the Apache License, Version 2.0
5  * (the "License"); you may not use this file except in compliance with
6  * the License. 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 
17 #ifndef APR_THREAD_COND_H
18 #define APR_THREAD_COND_H
19 
25 #include "apr.h"
26 #include "apr_pools.h"
27 #include "apr_errno.h"
28 #include "apr_time.h"
29 #include "apr_thread_mutex.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif /* __cplusplus */
34 
35 #if APR_HAS_THREADS || defined(DOXYGEN)
36 
45 
60  apr_pool_t *pool);
61 
79 
98  apr_interval_time_t timeout);
99 
109 
118 
124 
130 
131 #endif /* APR_HAS_THREADS */
132 
135 #ifdef __cplusplus
136 }
137 #endif
138 
139 #endif /* ! APR_THREAD_COND_H */
APR Platform Definitions.
APR Error Codes.
APR memory allocation.
APR Thread Mutex Routines.
APR Time Library.
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
apr_status_t apr_thread_cond_destroy(apr_thread_cond_t *cond)
apr_status_t apr_thread_cond_timedwait(apr_thread_cond_t *cond, apr_thread_mutex_t *mutex, apr_interval_time_t timeout)
apr_status_t apr_thread_cond_wait(apr_thread_cond_t *cond, apr_thread_mutex_t *mutex)
APR_POOL_DECLARE_ACCESSOR(thread_cond)
apr_status_t apr_thread_cond_create(apr_thread_cond_t **cond, apr_pool_t *pool)
apr_status_t apr_thread_cond_signal(apr_thread_cond_t *cond)
apr_status_t apr_thread_cond_broadcast(apr_thread_cond_t *cond)
apr_int64_t apr_interval_time_t
Definition: apr_time.h:55
#define APR_DECLARE(x)
Definition: macros.h:6
Definition: apr_arch_thread_cond.h:34
NXCond_t * cond
Definition: apr_arch_thread_cond.h:25
HMTX mutex
Definition: apr_arch_thread_cond.h:26
Definition: apr_arch_thread_mutex.h:28