Changeset 871
- Timestamp:
- Sep 13, 2004, 7:26:59 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lisp-kernel/thread_manager.c
r826 r871 184 184 185 185 if ((seconds <= 0) && (nanos <= 0)) { 186 return 0;186 return KERN_OPERATION_TIMED_OUT; 187 187 } 188 188 … … 792 792 int suspend_count = atomic_incf(&(tcr->suspend_count)); 793 793 if (suspend_count == 1) { 794 #ifdef DARWIN 795 if (mach_suspend_tcr(tcr)) { 796 tcr->flags |= TCR_FLAG_BIT_ALT_SUSPEND; 797 return true; 798 } 799 #endif 794 800 if (pthread_kill((pthread_t)ptr_from_lispobj(tcr->osid), thread_suspend_signal) == 0) { 795 801 SEM_WAIT(tcr->suspend);
Note: See TracChangeset
for help on using the changeset viewer.