[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Minor Correction?
>>>>> On Fri, 14 Apr 2000 10:45:05 -0600, "Mark K. Gardner" <mkg@xxxxxxxxxxxxxxx> said:
> Shouldn't the definition of thread-terminate! state that threads
> which are not the current thread should terminate immediately?
>> If thread is not running or it is the current thread, it is
>> terminated immediately, otherwise the scheduler may wait until the
>> thread blocks or is preempted before terminating it.
Nope. If a thread calls thread-terminate! then it can (and according
to the spec, must) terminate immediately. Likewise for not-running
threads. But running threads other than the caller of
thread-terminate! may run until they block or are preempted.