From: Eckhard L. <ec...@gm...> - 2006-10-30 21:47:03
|
Tom Krehbiel schrieb: > Is the reference implementation compatible with threading? The reference implementation can be found here: http://sourceforge.net/support/tracker.php?aid=1587317. I did not care in particular about thread safety, but the handler is stored and run on a "per Interp" basis. This means that it must be registered separately for each thread - and when an error comes up there, the handler is run in the Interp of this thread (the current thread can be retrieved with [thread::id] in the handler script). I did some testing with multi threads, and it works (more tests will be added later to the testsuite). Eckhard |