56#if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
57#define LWP_VERSION 210888002
59#define LWP_VERSION 210888003
64#define LWP_EBLOCKED -2
66#define LWP_EMAXPROC -4
67#define LWP_ENOBLOCK -5
69#define LWP_ENOPROCESS -7
71#define LWP_EBADCOUNT -9
72#define LWP_EBADEVENT -10
73#define LWP_EBADPRI -11
74#define LWP_NO_STACK -12
76#define LWP_EBADSIG -13
77#define LWP_ESYSTEM -14
79#define LWP_ENOROCKS -15
80#define LWP_EBADROCK -16
83#define LWP_MAX_PRIORITY 4
86#define LWP_NORMAL_PRIORITY (LWP_MAX_PRIORITY - 1)
96#define LWP_SOMESSAGE 3
133#define LWP_SignalProcess(event) LWP_INTERNALSIGNAL(event, 1)
134#define LWP_NoYieldSignal(event) LWP_INTERNALSIGNAL(event, 0)
145extern int IOMGR_Select(
int fds, fd_set *readfds, fd_set *writefds,
146 fd_set *exceptfds,
struct timeval *timeout);
152extern int FT_Init(
int printErrors,
int notReally);
FILE * file
Definition: dirtest.c:723
int IOMGR_Signal(int signo, char *event)
Definition: iomgr_pt.c:96
int LWP_NewRock(int Tag, char *Value)
Definition: lwp_pt.c:521
void LWP_UnProtectStacks()
Definition: lwp_pt.c:610
void PRE_BeginCritical(void)
Definition: preempt_pt.c:43
int LWP_QWait()
Definition: lwp_pt.c:416
int LWP_StackUsed(PROCESS pid, int *max, int *used)
Definition: lwp_pt.c:591
int LWP_Index()
Definition: lwp_pt.c:600
int LWP_CreateProcess(void(*ep)(void *), int stacksize, int priority, void *parm, const char *name, PROCESS *pid)
Definition: lwp_pt.c:297
struct timeval cont_sw_threshold
Definition: lwp_pt.c:37
int LWP_DispatchProcess()
Definition: mklka.c:49
int IOMGR_Select(int fds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)
Definition: iomgr_pt.c:48
int FT_Init(int printErrors, int notReally)
Definition: fasttime.c:57
int LWP_TerminateProcessSupport()
Definition: lwp_pt.c:355
int FT_AGetTimeOfDay(struct timeval *tv, struct timezone *tz)
Definition: fasttime.c:98
int IOMGR_CancelSignal(int signo)
Definition: iomgr_pt.c:102
int TM_GetTimeOfDay(struct timeval *tv, struct timezone *tz)
Definition: fasttime.c:93
char * LWP_Name()
Definition: lwp_pt.c:561
int FT_GetTimeOfDay(struct timeval *tv, struct timezone *tz)
Definition: fasttime.c:81
int LWP_MwaitProcess(int wcount, const void *evlist[])
Definition: lwp_pt.c:472
struct timeval run_wait_threshold
Definition: lwp_pt.c:38
PROCESS LWP_ThisProcess()
Definition: lwp_pt.c:583
void PRE_EndCritical(void)
Definition: preempt_pt.c:52
struct lwp_pcb * PROCESS
Definition: lwp.h:89
int IOMGR_Poll()
Definition: iomgr_pt.c:71
struct timeval last_context_switch
Definition: lwp_pt.c:36
int LWP_Init(int version, int priority, PROCESS *pid)
Definition: lwp_pt.c:174
int IOMGR_SoftSig(void(*aproc)(void *), char *arock)
Definition: iomgr_pt.c:90
int IOMGR_Initialize()
Definition: iomgr_pt.c:42
int IOMGR_Cancel(PROCESS pid)
Definition: iomgr_pt.c:76
int lwp_debug
Definition: lwp_pt.c:32
int LWP_INTERNALSIGNAL(const void *event, int yield)
Definition: lwp_pt.c:430
int lwp_overflowAction
Definition: lwp_pt.c:33
int LWP_DestroyProcess(PROCESS pid)
Definition: lwp_pt.c:345
int LWP_GetProcessPriority(PROCESS pid, int *priority)
Definition: lwp_pt.c:569
int IOMGR_Finalize()
Definition: iomgr_pt.c:84
int lwp_stackUseEnabled
Definition: lwp_pt.c:34
void LWP_SetLog(FILE *file, int level)
Definition: lwp_pt.c:576
int LWP_GetRock(int Tag, char **Value)
Definition: lwp_pt.c:543
int LWP_WaitProcess(const void *event)
Definition: lwp_pt.c:512
void LWP_ProtectStacks()
Definition: lwp_pt.c:615
int LWP_CurrentProcess(PROCESS *pid)
Definition: lwp_pt.c:214
int LWP_HighestIndex()
Definition: lwp_pt.c:605
unsigned int FT_ApproxTime()
Definition: fasttime.c:108
int LWP_QSignal(PROCESS pid)
Definition: lwp_pt.c:410
void PRE_Concurrent(int on)
Definition: preempt_pt.c:24
used
Definition: find_unused_symbols.py:78
level
Definition: make_certs.py:100
PeerInfo RemoteSubsys Tag
Definition: sftp6.c:135
Definition: lwp.private_pt.h:33