home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / mach / thread_switch.h < prev    next >
C/C++ Source or Header  |  1992-07-29  |  840b  |  39 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1989 Carnegie-Mellon University
  4.  * All rights reserved.  The CMU software License Agreement specifies
  5.  * the terms and conditions for use and redistribution.
  6.  */
  7. /*
  8.  * HISTORY
  9.  * $Log:    thread_switch.h,v $
  10.  * Revision 2.3  89/10/15  02:06:04  rpd
  11.  *     Minor cleanups.
  12.  * 
  13.  * Revision 2.2  89/10/11  14:41:47  dlb
  14.  *     Merge.
  15.  *     [89/09/01  17:57:58  dlb]
  16.  * 
  17.  * Revision 2.1.1.2  89/08/02  23:12:52  dlb
  18.  *     Merge to X96
  19.  * 
  20.  * Revision 2.1.1.1  89/07/25  19:05:41  dlb
  21.  *     Created.
  22.  * 
  23.  */
  24.  
  25. #ifndef    _MACH_THREAD_SWITCH_H_
  26. #define    _MACH_THREAD_SWITCH_H_
  27.  
  28. /*
  29.  *    Constant definitions for thread_switch trap.
  30.  */
  31.  
  32. #define    SWITCH_OPTION_NONE    0
  33. #define SWITCH_OPTION_DEPRESS    1
  34. #define SWITCH_OPTION_WAIT    2
  35.  
  36. #define valid_switch_option(opt)    ((0 <= (opt)) && ((opt) <= 2))
  37.  
  38. #endif    _MACH_THREAD_SWITCH_H_
  39.