#include "config.h"
#include "defines.h"
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <string.h>
#include <ctype.h>
#include <sys/time.h>
#include "cf_pthread.h"
#include "hashlib.h"
#include "readline.h"
#include "utils.h"
#include "fo_server.h"
#include "serverlib.h"
Go to the source code of this file.
Functions | |
| void | cf_mutex_init (const u_char *name, t_cf_mutex *mutex) |
| void | cf_mutex_destroy (t_cf_mutex *mutex) |
| void | cf_rwlock_init (const u_char *name, t_cf_rwlock *rwlock) |
| void | cf_rwlock_destroy (t_cf_rwlock *rwlock) |
| void | cf_lock_mutex (const u_char *file, const int line, t_cf_mutex *mutex) |
| void | cf_unlock_mutex (const u_char *file, const int line, t_cf_mutex *mutex) |
| void | cf_rwlock_rdlock (const u_char *file, const int line, t_cf_rwlock *rwlock) |
| void | cf_rwlock_wrlock (const u_char *file, const int line, t_cf_rwlock *rwlock) |
| void | cf_rwlock_unlock (const u_char *file, const int line, t_cf_rwlock *rwlock) |
Definition in file cf_pthread.c.
|
||||||||||||||||
|
This function locks a mutex
Definition at line 58 of file cf_pthread.c. |
|
|
The destructor for the t_cf_mutex class Definition at line 44 of file cf_pthread.c. |
|
||||||||||||
|
Initialization function for the t_cf_mutex
Definition at line 40 of file cf_pthread.c. |
|
|
This function is the destructor for the read-write lock class
Definition at line 53 of file cf_pthread.c. |
|
||||||||||||
|
This function initializes a rwlock
Definition at line 49 of file cf_pthread.c. |
|
||||||||||||||||
|
This function locks a rwlock shared
Definition at line 125 of file cf_pthread.c. |
|
||||||||||||||||
|
This function unlocks a read-write lock
Definition at line 191 of file cf_pthread.c. |
|
||||||||||||||||
|
This function locks a read-write lock writable
Definition at line 158 of file cf_pthread.c. |
|
||||||||||||||||
|
This function unlocks a mutex
Definition at line 92 of file cf_pthread.c. |
1.3.5