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

Go to the source code of this file.

Functions

int * __error ()
void _spinlock (ngx_atomic_t *lock)
void _spinunlock (ngx_atomic_t *lock)
ngx_err_t ngx_create_thread (ngx_tid_t *tid, ngx_thread_value_t(*func)(void *arg), void *arg, ngx_log_t *log)
ngx_int_t ngx_init_threads (int n, size_t size, ngx_cycle_t *cycle)
ngx_tid_t ngx_thread_self ()
ngx_err_t ngx_thread_key_create (ngx_tls_key_t *key)
ngx_err_t ngx_thread_set_tls (ngx_tls_key_t key, void *value)
ngx_mutex_tngx_mutex_init (ngx_log_t *log, ngx_uint_t flags)
void ngx_mutex_destroy (ngx_mutex_t *m)
ngx_int_t ngx_mutex_dolock (ngx_mutex_t *m, ngx_int_t try)
void ngx_mutex_unlock (ngx_mutex_t *m)
ngx_cond_tngx_cond_init (ngx_log_t *log)
void ngx_cond_destroy (ngx_cond_t *cv)
ngx_int_t ngx_cond_wait (ngx_cond_t *cv, ngx_mutex_t *m)
ngx_int_t ngx_cond_signal (ngx_cond_t *cv)

Variables

char * ngx_freebsd_kern_usrstack
size_t ngx_thread_stack_size
void ** ngx_tls
int __isthreaded

Function Documentation

int* __error ( )

Definition at line 56 of file ngx_freebsd_rfork_thread.c.

void _spinlock ( ngx_atomic_t lock)

Definition at line 78 of file ngx_freebsd_rfork_thread.c.

void _spinunlock ( ngx_atomic_t lock)

Definition at line 114 of file ngx_freebsd_rfork_thread.c.

void ngx_cond_destroy ( ngx_cond_t cv)

Definition at line 610 of file ngx_freebsd_rfork_thread.c.

Here is the call graph for this function:

ngx_cond_t* ngx_cond_init ( ngx_log_t log)

Definition at line 591 of file ngx_freebsd_rfork_thread.c.

Here is the call graph for this function:

ngx_int_t ngx_cond_signal ( ngx_cond_t cv)

Definition at line 727 of file ngx_freebsd_rfork_thread.c.

Here is the call graph for this function:

ngx_int_t ngx_cond_wait ( ngx_cond_t cv,
ngx_mutex_t m 
)

Definition at line 622 of file ngx_freebsd_rfork_thread.c.

Here is the call graph for this function:

ngx_err_t ngx_create_thread ( ngx_tid_t tid,
ngx_thread_value_t(*)(void *arg)  func,
void *  arg,
ngx_log_t log 
)

Definition at line 123 of file ngx_freebsd_rfork_thread.c.

Here is the call graph for this function:

ngx_int_t ngx_init_threads ( int  n,
size_t  size,
ngx_cycle_t cycle 
)

Definition at line 183 of file ngx_freebsd_rfork_thread.c.

Here is the call graph for this function:

void ngx_mutex_destroy ( ngx_mutex_t m)

Definition at line 356 of file ngx_freebsd_rfork_thread.c.

Here is the call graph for this function:

ngx_int_t ngx_mutex_dolock ( ngx_mutex_t m,
ngx_int_t  try 
)

Definition at line 368 of file ngx_freebsd_rfork_thread.c.

Here is the call graph for this function:

ngx_mutex_t* ngx_mutex_init ( ngx_log_t log,
ngx_uint_t  flags 
)

Definition at line 314 of file ngx_freebsd_rfork_thread.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void ngx_mutex_unlock ( ngx_mutex_t m)

Definition at line 499 of file ngx_freebsd_rfork_thread.c.

ngx_err_t ngx_thread_key_create ( ngx_tls_key_t key)

Definition at line 289 of file ngx_freebsd_rfork_thread.c.

ngx_tid_t ngx_thread_self ( )

Definition at line 274 of file ngx_freebsd_rfork_thread.c.

Here is the caller graph for this function:

ngx_err_t ngx_thread_set_tls ( ngx_tls_key_t  key,
void *  value 
)

Definition at line 302 of file ngx_freebsd_rfork_thread.c.

Variable Documentation

int __isthreaded
char* ngx_freebsd_kern_usrstack

Definition at line 35 of file ngx_freebsd_rfork_thread.c.

size_t ngx_thread_stack_size

Definition at line 36 of file ngx_freebsd_rfork_thread.c.

void** ngx_tls

Definition at line 48 of file ngx_freebsd_rfork_thread.c.