chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] thread-wait-for-i/o! and thread-terminate!


From: Chris Vine
Subject: [Chicken-users] thread-wait-for-i/o! and thread-terminate!
Date: Tue, 20 Jan 2015 21:48:49 +0000

Hi,

Does anyone know if thread-terminate! can safely be called on a
thread which is blocking on thread-wait-for-i/o!, without putting
chicken's internals into an inconsistent state.  I have been doing so
without any noticeable adverse effects, but I wondered if this was just
because I have been lucky.

I realise that user code must take into account the effects of the
immediate aborting of the thread caused by thread-terminate! (which the
code in question does): I am interested in the safety of chicken's
implementation of thread-wait-for-i/o! with respect to
thread-terminate!.

Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]