Changeset 481


Ignore:
Timestamp:
Feb 6, 2004, 11:38:35 AM (21 years ago)
Author:
Gary Byers
Message:

Probably better to have PROCESS-WAIT sleep explicitly, so that it doesn't
spend all of its time yielding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-1/l1-processes.lisp

    r464 r481  
    392392                 (when (apply function args)
    393393                   (return))
    394                  (yield)))
     394                   ;; Sleep for a tick
     395                   (%nanosleep 0 *ns-per-tick*)))
    395396          (setf (%process-whostate p) old-whostate)))))
    396397
Note: See TracChangeset for help on using the changeset viewer.