Apache HTTPD
framework
httpd-2.4.62
srclib
apr
include
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
44
typedef
struct
apr_thread_cond_t
apr_thread_cond_t
;
45
59
APR_DECLARE
(
apr_status_t
)
apr_thread_cond_create
(
apr_thread_cond_t
**
cond
,
60
apr_pool_t
*
pool
);
61
77
APR_DECLARE
(
apr_status_t
)
apr_thread_cond_wait
(
apr_thread_cond_t
*
cond
,
78
apr_thread_mutex_t
*
mutex
);
79
96
APR_DECLARE
(
apr_status_t
)
apr_thread_cond_timedwait
(
apr_thread_cond_t
*
cond
,
97
apr_thread_mutex_t
*
mutex
,
98
apr_interval_time_t
timeout
);
99
108
APR_DECLARE
(
apr_status_t
)
apr_thread_cond_signal
(
apr_thread_cond_t
*
cond
);
109
117
APR_DECLARE
(
apr_status_t
)
apr_thread_cond_broadcast
(
apr_thread_cond_t
*
cond
);
118
123
APR_DECLARE
(
apr_status_t
)
apr_thread_cond_destroy
(
apr_thread_cond_t
*
cond
);
124
129
APR_POOL_DECLARE_ACCESSOR
(
thread_cond
);
130
131
#endif
/* APR_HAS_THREADS */
132
135
#ifdef __cplusplus
136
}
137
#endif
138
139
#endif
/* ! APR_THREAD_COND_H */
apr_errno.h
APR Error Codes.
apr_pools.h
APR memory allocation.
apr_thread_mutex.h
APR Thread Mutex Routines.
apr_time.h
APR Time Library.
APR_DECLARE
const void apr_status_t(*) apr_status_t(* APR_DECLARE)(void) apr_pool_pre_cleanup_register(apr_pool_t *p
Definition
apr_pools.h:646
size
apr_size_t size
Definition
apr_allocator.h:115
pool
const char int apr_pool_t * pool
Definition
apr_cstr.h:84
apr_status_t
int apr_status_t
Definition
apr_errno.h:44
APR_POOL_DECLARE_ACCESSOR
#define APR_POOL_DECLARE_ACCESSOR(type)
Definition
apr_pools.h:81
apr_interval_time_t
apr_int64_t apr_interval_time_t
Definition
apr_time.h:55
apr_pool_t
Definition
apr_pools.c:562
apr_thread_cond_t
Definition
apr_arch_thread_cond.h:34
apr_thread_cond_t::cond
NXCond_t * cond
Definition
apr_arch_thread_cond.h:25
apr_thread_cond_t::mutex
HMTX mutex
Definition
apr_arch_thread_cond.h:26
apr_thread_mutex_t
Definition
apr_arch_thread_mutex.h:28
timeout
IN ULONG IN INT timeout
Definition
apr_arch_misc.h:482
Generated by
1.9.8