home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / s / s001 / 1.ddi / TS / SRC / TS_PROC.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-04-03  |  240 b   |  16 lines

  1. #include "compiler.h"
  2. #include "ts.h"
  3.  
  4.  
  5.  
  6. GLOBAL void TS_proc(PROCESS *P, short Wake)
  7. {
  8.   short cpuflags;
  9.  
  10.   cpuflags = cli();
  11.   if (Wake) P->status &= ~ASLEEP;
  12.     else P->status |= ASLEEP;
  13.   putf(cpuflags);
  14.  
  15. } /* TS_proc */
  16.