Apache HTTPD
apr_thread_pool.h
Go to the documentation of this file.
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed
4 * with this work for additional information regarding copyright
5 * ownership. The ASF licenses this file to you under the Apache
6 * License, Version 2.0 (the "License"); you may not use this file
7 * except in compliance with the License. You may obtain a copy of
8 * the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 * implied. See the License for the specific language governing
16 * permissions and limitations under the License.
17 */
18
19#ifndef APU_THREAD_POOL_H
20#define APU_THREAD_POOL_H
21
22#include "apu.h"
23#include "apr_thread_proc.h"
24
45#if APR_HAS_THREADS
46
47#ifdef __cplusplus
48extern "C" {
49#endif /* __cplusplus */
50
59
60#define APR_THREAD_TASK_PRIORITY_LOWEST 0
61#define APR_THREAD_TASK_PRIORITY_LOW 63
62#define APR_THREAD_TASK_PRIORITY_NORMAL 127
63#define APR_THREAD_TASK_PRIORITY_HIGH 191
64#define APR_THREAD_TASK_PRIORITY_HIGHEST 255
65
81
87
99 void *param,
100 apr_byte_t priority,
101 void *owner);
113 void *param,
115 void *owner);
116
128 void *param,
129 apr_byte_t priority,
130 void *owner);
131
142 void *owner);
143
150
157
164
171
178
188
196
204
212
220
227
236
250
259
266
275
282
290 void **owner);
291
294#ifdef __cplusplus
295}
296#endif
297
298#endif /* APR_HAS_THREADS */
299#endif /* !APR_THREAD_POOL_H */
APU_DECLARE(void)
Computes SipHash-2-4, producing a 64bit (APR_SIPHASH_DSIZE) hash from a message and a 128bit (APR_SIP...
Definition apr_sha1.c:206
APR Thread and Process Library.
apr_size_t size
apr_uint32_t val
Definition apr_atomic.h:66
const char int apr_pool_t * pool
Definition apr_cstr.h:84
int apr_status_t
Definition apr_errno.h:44
apr_interval_time_t apr_pollcb_cb_t func
Definition apr_poll.h:422
void *(APR_THREAD_FUNC * apr_thread_start_t)(apr_thread_t *, void *)
apr_int64_t apr_interval_time_t
Definition apr_time.h:55
IN ULONG IN INT timeout