nfs-ganesha 1.4
|
The file that contain thread control block related code. More...
#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <fcntl.h>
#include "nfs_tcb.h"
#include "nlm_list.h"
Go to the source code of this file.
The file that contain thread control block related code.
nfs_tcb.c : The file that contain thread control block related code
Definition in file nfs_tcb.c.
void mark_thread_asleep | ( | nfs_tcb_t * | wcb | ) |
void mark_thread_awake | ( | nfs_tcb_t * | wcb | ) |
void mark_thread_done | ( | nfs_tcb_t * | wcb | ) |
pause_rc pause_threads | ( | pause_reason_t | reason | ) |
int tcb_new | ( | nfs_tcb_t * | element, |
char * | name | ||
) |
thread_sm_t thread_sm_locked | ( | nfs_tcb_t * | tcbp | ) |
void wait_for_threads_to_exit | ( | void | ) |
pause_rc wake_threads | ( | awaken_reason_t | reason | ) |
pthread_cond_t active_threads_cond = PTHREAD_COND_INITIALIZER |
awaken_reason_t awaken_reason = AWAKEN_STARTUP |
const char* awaken_reason_str[] |
pthread_mutex_t gtcb_mutex = PTHREAD_MUTEX_INITIALIZER |
unsigned int num_active_threads = 0 |
unsigned int num_existing_threads = 0 |
int num_pauses = 0 |
const char* pause_rc_str[] |
const char* pause_reason_str[] |
pause_state_t pause_state = STATE_STARTUP |
const char* pause_state_str[] |