#include <setjmp.h>
#endif /* !UCONTEXT */
-/* `liveness' counter: check signals every `n' visits to the scheduler */
-/* note: the lower this value, the more responsive the system but the */
-/* more inefficient the context switch time */
-#define LCOUNT -1
-
/* process control block. do *not* change the position of context */
struct lwpProc {
#ifdef UCONTEXT
void lwpReady(struct lwpProc *);
void lwpReschedule(void);
void lwpEntryPoint(void);
-void lwpInitSelect(struct lwpProc * self);
-void lwpDestroy(struct lwpProc * proc);
+void lwpInitSelect(struct lwpProc *);
+void lwpSelect(void *);
+void lwpInitSigWait(sigset_t *);
+void lwpSigWakeup(void);
+void lwpStatus(struct lwpProc *, char *, ...)
+ ATTRIBUTE((format (printf, 2, 3)));
#endif