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 #include "apr_general.h"
18 #include "apr_lib.h"
19 #include "apr_strings.h"
20 #include "apr_portable.h"
21 #include "apr_arch_thread_mutex.h"
22 #include "apr_arch_thread_cond.h"
23 #include "apr_arch_file_io.h"
24 #include <string.h>
25
apr_thread_cond_create(apr_thread_cond_t ** cond,apr_pool_t * pool)26 APR_DECLARE(apr_status_t) apr_thread_cond_create(apr_thread_cond_t **cond,
27 apr_pool_t *pool)
28 {
29 return APR_ENOTIMPL;
30 }
31
apr_thread_cond_wait(apr_thread_cond_t * cond,apr_thread_mutex_t * mutex)32 APR_DECLARE(apr_status_t) apr_thread_cond_wait(apr_thread_cond_t *cond,
33 apr_thread_mutex_t *mutex)
34 {
35 return APR_ENOTIMPL;
36 }
37
apr_thread_cond_timedwait(apr_thread_cond_t * cond,apr_thread_mutex_t * mutex,apr_interval_time_t timeout)38 APR_DECLARE(apr_status_t) apr_thread_cond_timedwait(apr_thread_cond_t *cond,
39 apr_thread_mutex_t *mutex,
40 apr_interval_time_t timeout){
41 return APR_ENOTIMPL;
42 }
43
apr_thread_cond_signal(apr_thread_cond_t * cond)44 APR_DECLARE(apr_status_t) apr_thread_cond_signal(apr_thread_cond_t *cond)
45 {
46 return APR_ENOTIMPL;
47 }
48
apr_thread_cond_broadcast(apr_thread_cond_t * cond)49 APR_DECLARE(apr_status_t) apr_thread_cond_broadcast(apr_thread_cond_t *cond)
50 {
51 return APR_ENOTIMPL;
52 }
53
apr_thread_cond_destroy(apr_thread_cond_t * cond)54 APR_DECLARE(apr_status_t) apr_thread_cond_destroy(apr_thread_cond_t *cond)
55 {
56 return APR_ENOTIMPL;
57 }
58
59 APR_POOL_IMPLEMENT_ACCESSOR(thread_cond)
60
61