#include "nfs_core.h"
#include "nlm_list.h"
#include <pthread.h>
Go to the source code of this file.
Typedef Documentation
Enumeration Type Documentation
- Enumerator: 
- 
| THREAD_SM_RECHECK |  |  | THREAD_SM_BREAK |  |  | THREAD_SM_EXIT |  |  
 
Definition at line 8 of file nfs_tcb.h.
 
 
Function Documentation
      
        
          | pause_rc _wait_for_threads_to_pause | ( | void |  | ) |  | 
      
 
 
mark_thread_asleep: Mark a thread as asleep 
Definition at line 263 of file nfs_tcb.c.
 
 
mark_thread_awake: Mark a thread as awake 
Definition at line 340 of file nfs_tcb.c.
 
 
mark_thread_done: Mark a thread as done 
Definition at line 286 of file nfs_tcb.c.
 
 
mark_thread_exist: Mark a thread as existing 
Definition at line 311 of file nfs_tcb.c.
 
 
      
        
          | void notify_threads_of_new_state | ( | void |  | ) |  | 
      
 
 
pause_threads: Pause threads. 
Definition at line 388 of file nfs_tcb.c.
 
 
      
        
          | void tcb_head_init | ( | void |  | ) |  | 
      
 
 
      
        
          | int tcb_new | ( | nfs_tcb_t * | element, | 
        
          |  |  | char * | name | 
        
          |  | ) |  |  | 
      
 
tcb_new: Initialize and insert the new tcb element If no inext to prefix with the name, pass -1. 
Definition at line 110 of file nfs_tcb.c.
 
 
      
        
          | pause_rc wait_for_threads_to_awaken | ( | void |  | ) |  | 
      
 
 
      
        
          | void wait_for_threads_to_exit | ( | void |  | ) |  | 
      
 
wait_for_threads_to_exit: Wait for threads to exit 
Definition at line 129 of file nfs_tcb.c.
 
 
wake_threads: Wake up threads. 
Definition at line 480 of file nfs_tcb.c.