Clean up the move of lwpProc (lwpint.h rev. 1.11, lwp.h rev. 1.8).
This commit is contained in:
parent
a540be8fe3
commit
bb33660672
2 changed files with 9 additions and 6 deletions
|
@ -20,15 +20,12 @@
|
|||
* 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
|
||||
|
||||
|
|
|
@ -24,6 +24,12 @@
|
|||
#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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue