* Imperial College of Science, Technology and Medicine, 180 Queen's
* Gate, London SW7 2BZ, England.
*/
+
#ifndef _LWP_H_
#define _LWP_H_
-#ifdef UCONTEXT
-#include <ucontext.h>
-#else /* !UCONTEXT */
-#include <setjmp.h>
-#endif /* !UCONTEXT */
-#include <sys/time.h>
+
#include "misc.h"
+
#define LWP_STACKCHECK 0x1
#define LWP_PRINT 0x2
#ifndef _LWPINT_H
#define _LWPINT_H
+#ifdef UCONTEXT
+#include <ucontext.h>
+#else /* !UCONTEXT */
+#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 */