home *** CD-ROM | disk | FTP | other *** search
- /******************************************
- * TS_RRIP.C *
- * Copyright TimeSlice, Inc. 1985, 86, 87. *
- ******************************************/
-
-
- #include <ts.h>
-
-
- /***
- * TS_RRIP()
- * Check if curproc ready to R.I.P., and if it should, do so.
- ***/
- void ts_rrip() {
-
- if( (curproc->status & KILL) && (!curproc->crlev) && (!curproc->chlev) ) {
- curproc->status &= ~KILL; /*do this to avoid infinite recursion */
- endself();
- }
- }
-
-