#include <assert.h>
#include "apu.h"
#include "apr_reslist.h"
#include "apr_errno.h"
#include "apr_strings.h"
#include "apr_thread_mutex.h"
#include "apr_thread_cond.h"
#include "apr_ring.h"
Go to the source code of this file.
◆ apr_res_t
◆ apr_resring_t
◆ create_resource()
Create a new resource and return it. Assumes: that the reslist is locked.
Definition at line 118 of file apr_reslist.c.
◆ destroy_resource()
Destroy a single idle resource. Assumes: that the reslist is locked.
Definition at line 135 of file apr_reslist.c.
◆ free_container()
Free up a resource container by placing it on the free list.
Definition at line 109 of file apr_reslist.c.
◆ get_container()
Get an resource container from the free list or create a new one.
Definition at line 93 of file apr_reslist.c.
◆ pop_resource()
Grab a resource from the front of the resource list. Assumes: that the reslist is locked.
Definition at line 67 of file apr_reslist.c.
◆ push_resource()
Add a resource to the beginning of the list, set the time at which it was added to the list. Assumes: that the reslist is locked.
Definition at line 81 of file apr_reslist.c.
◆ reslist_cleanup()