|
Last change
on this file since 1588 was 1535, checked in by bird, 26 years ago |
|
Updated option/argument handling.
Corrected a few bugs.
|
|
File size:
437 bytes
|
| Line | |
|---|
| 1 | /* $Id: yield.h,v 1.2 1999-10-31 23:57:05 bird Exp $
|
|---|
| 2 | *
|
|---|
| 3 | * Yield - conversion may take some time. So it is necessary to
|
|---|
| 4 | * check it's time to yield the processor to other processes.
|
|---|
| 5 | *
|
|---|
| 6 | * Copyright (c) 1998-1999 knut st. osmundsen
|
|---|
| 7 | *
|
|---|
| 8 | */
|
|---|
| 9 | #ifndef _yield_h_
|
|---|
| 10 | #define _yield_h_
|
|---|
| 11 |
|
|---|
| 12 | #ifdef __cplusplus
|
|---|
| 13 | extern "C" {
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | #ifdef RING0
|
|---|
| 18 | BOOL Yield(void);
|
|---|
| 19 | #else
|
|---|
| 20 | #define Yield() FALSE
|
|---|
| 21 | #endif
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | #ifdef __cplusplus
|
|---|
| 25 | }
|
|---|
| 26 | #endif
|
|---|
| 27 |
|
|---|
| 28 | #endif
|
|---|
| 29 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.