[Openmcl-devel] [openmcl-devel] Throw "Thread Safe?"

David L. Rager ragerdl at cs.utexas.edu
Wed Jan 24 21:27:08 UTC 2007


Hello,

Are interrupts enabled while executing a throw?  


Supposed I have thread A, and it is in the middle of executing

(throw :my-tag)

Then suppose before A finishes the throw that thread B attempts to interrupt
thread A, where thread B executes

(ccl:process-interrupt *A* (lambda () (throw :my-tag nil)))


Should I wrap a (without-interrupts ...) around (throw :my-tag) or is this issue
already addressed by OpenMCL?


Thank you,
David



More information about the Openmcl-devel mailing list