]> git.pond.sub.org Git - empserver/commitdiff
Clean up the move of lwpProc (lwpint.h rev. 1.11, lwp.h rev. 1.8).
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 10 Dec 2005 15:00:35 +0000 (15:00 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 10 Dec 2005 15:00:35 +0000 (15:00 +0000)
include/lwp.h
src/lib/lwp/lwpint.h

index 9c89414d72aa3975ce862ad7499cec9129a029bd..14134cc96214a6949f1e33cbfb16a05209184ad5 100644 (file)
  * 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
 
index 06d0504f0945a49e30396e8a83bc9d0f9ac70431..c6c0053a158c02c83eb8063ea5e7aa5028f1f155 100644 (file)
 #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 */