Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
ngx_shmtx.c File Reference
#include <ngx_config.h>
#include <ngx_core.h>
Include dependency graph for ngx_shmtx.c:

Go to the source code of this file.

Functions

ngx_int_t ngx_shmtx_create (ngx_shmtx_t *mtx, ngx_shmtx_sh_t *addr, u_char *name)
void ngx_shmtx_destroy (ngx_shmtx_t *mtx)
ngx_uint_t ngx_shmtx_trylock (ngx_shmtx_t *mtx)
void ngx_shmtx_lock (ngx_shmtx_t *mtx)
void ngx_shmtx_unlock (ngx_shmtx_t *mtx)
ngx_uint_t ngx_shmtx_force_unlock (ngx_shmtx_t *mtx, ngx_pid_t pid)

Function Documentation

ngx_int_t ngx_shmtx_create ( ngx_shmtx_t mtx,
ngx_shmtx_sh_t addr,
u_char *  name 
)

Definition at line 202 of file ngx_shmtx.c.

Here is the call graph for this function:

void ngx_shmtx_destroy ( ngx_shmtx_t mtx)

Definition at line 235 of file ngx_shmtx.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_uint_t ngx_shmtx_force_unlock ( ngx_shmtx_t mtx,
ngx_pid_t  pid 
)

Definition at line 304 of file ngx_shmtx.c.

void ngx_shmtx_lock ( ngx_shmtx_t mtx)

Definition at line 274 of file ngx_shmtx.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_uint_t ngx_shmtx_trylock ( ngx_shmtx_t mtx)

Definition at line 245 of file ngx_shmtx.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void ngx_shmtx_unlock ( ngx_shmtx_t mtx)

Definition at line 289 of file ngx_shmtx.c.

Here is the call graph for this function:

Here is the caller graph for this function: