|
Coda Distributed File System
|
#include <pthread.h>#include <semaphore.h>#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <signal.h>#include <assert.h>#include <lwp/lwp.h>#include <lwp/lock.h>#include "lwp.private_pt.h"
Classes | |
| struct | lwp_forkinfo |
Functions | |
| int | lwp_threads_waiting (void) |
| void | lwp_LEAVE (PROCESS pid) |
| void | lwp_YIELD (PROCESS pid) |
| int | LWP_Init (int version, int priority, PROCESS *ret) |
| int | LWP_CurrentProcess (PROCESS *pid) |
| int | LWP_CreateProcess (void(*ep)(void *), int stacksize, int priority, void *parm, const char *name, PROCESS *ret) |
| int | LWP_DestroyProcess (PROCESS pid) |
| int | LWP_TerminateProcessSupport () |
| int | LWP_DispatchProcess (void) |
| int | LWP_QSignal (PROCESS pid) |
| int | LWP_QWait () |
| int | LWP_INTERNALSIGNAL (const void *event, int yield) |
| int | LWP_MwaitProcess (int wcount, const void *evlist[]) |
| int | LWP_WaitProcess (const void *event) |
| int | LWP_NewRock (int Tag, char *Value) |
| int | LWP_GetRock (int Tag, char **Value) |
| char * | LWP_Name (void) |
| int | LWP_GetProcessPriority (PROCESS pid, int *priority) |
| void | LWP_SetLog (FILE *file, int level) |
| PROCESS | LWP_ThisProcess (void) |
| int | LWP_StackUsed (PROCESS pid, int *max, int *used) |
| int | LWP_Index () |
| int | LWP_HighestIndex () |
| void | LWP_UnProtectStacks () |
| void | LWP_ProtectStacks () |
Variables | |
| int | lwp_debug |
| int | lwp_overflowAction |
| int | lwp_stackUseEnabled |
| struct timeval | last_context_switch |
| struct timeval | cont_sw_threshold |
| struct timeval | run_wait_threshold |
| FILE * | lwp_logfile = NULL |
| int | lwp_loglevel = 0 |
| PROCESS | lwp_cpptr = NULL |
| int LWP_CreateProcess | ( | void(*)(void *) | ep, |
| int | stacksize, | ||
| int | priority, | ||
| void * | parm, | ||
| const char * | name, | ||
| PROCESS * | ret | ||
| ) |
| int LWP_CurrentProcess | ( | PROCESS * | pid | ) |
| int LWP_DestroyProcess | ( | PROCESS | pid | ) |
| int LWP_DispatchProcess | ( | void | ) |
| int LWP_GetProcessPriority | ( | PROCESS | pid, |
| int * | priority | ||
| ) |
| int LWP_GetRock | ( | int | Tag, |
| char ** | Value | ||
| ) |
| int LWP_HighestIndex | ( | ) |
| int LWP_Index | ( | ) |
| int LWP_Init | ( | int | version, |
| int | priority, | ||
| PROCESS * | ret | ||
| ) |
| int LWP_INTERNALSIGNAL | ( | const void * | event, |
| int | yield | ||
| ) |
| void lwp_LEAVE | ( | PROCESS | pid | ) |
| int LWP_MwaitProcess | ( | int | wcount, |
| const void * | evlist[] | ||
| ) |
| char * LWP_Name | ( | void | ) |
| int LWP_NewRock | ( | int | Tag, |
| char * | Value | ||
| ) |
| void LWP_ProtectStacks | ( | ) |
| int LWP_QSignal | ( | PROCESS | pid | ) |
| int LWP_QWait | ( | ) |
| void LWP_SetLog | ( | FILE * | file, |
| int | level | ||
| ) |
| int LWP_StackUsed | ( | PROCESS | pid, |
| int * | max, | ||
| int * | used | ||
| ) |
| int LWP_TerminateProcessSupport | ( | void | ) |
| PROCESS LWP_ThisProcess | ( | void | ) |
| int lwp_threads_waiting | ( | void | ) |
| void LWP_UnProtectStacks | ( | ) |
| int LWP_WaitProcess | ( | const void * | event | ) |
| void lwp_YIELD | ( | PROCESS | pid | ) |
| struct timeval cont_sw_threshold |
| struct timeval last_context_switch |
| int lwp_debug |
| FILE* lwp_logfile = NULL |
| int lwp_loglevel = 0 |
| int lwp_overflowAction |
| int lwp_stackUseEnabled |
| struct timeval run_wait_threshold |