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

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


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,

More information about the Openmcl-devel mailing list