apr  1.7.0
About: APR (Apache Portable Runtime) project offers software libraries that provide a predictable and consistent interface to underlying platform-specific implementations (APR core library).
  Fossies Dox: apr-1.7.0.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

thread_cond.c File Reference
#include "apr_arch_thread_mutex.h"
#include "apr_arch_thread_cond.h"
#include "apr_strings.h"
#include "apr_portable.h"
Include dependency graph for thread_cond.c:

Go to the source code of this file.


static apr_status_t thread_cond_cleanup (void *data)
static struct waiter_tmake_waiter (apr_pool_t *pool)
 APR_DECLARE (apr_status_t)
static apr_status_t do_wait (apr_thread_cond_t *cond, apr_thread_mutex_t *mutex, apr_interval_time_t timeout)

Function Documentation

◆ do_wait()

◆ make_waiter()

static struct waiter_t* make_waiter ( apr_pool_t pool)

Definition at line 33 of file thread_cond.c.

References APR_RING_ELEM_INIT, pool, and waiter_t::sem.

Referenced by APR_DECLARE(), and do_wait().

◆ thread_cond_cleanup()

static apr_status_t thread_cond_cleanup ( void *  data)

Definition at line 22 of file thread_cond.c.

References APR_SUCCESS, data, and apr_thread_cond_t::lock.

Referenced by APR_DECLARE().