[Vortex] Rebol Script-Binding / Callback Problem
"Robert M. Münch"
robert.muench at robertmuench.de
Sun Mar 13 09:03:04 CET 2011
Hi, I'm currently writing an Rebol-3 extension for Vortex. Rebol-3 supports a simple callback interface which I use to communicate between Vortex lib and Rebol.
The problem is that the callback (from an on_accept_handler) crashes the Rebo interpreter. I assume this has something to do with multi-threading.
1. Is there a way to run Vortex without multi-threading?
2. Is there a way to get back the number of running threads? As it's the first callback after a connect, I think there shouldn't be any threads running.
3. I used a mutex around the callback code to avoid any multi-thread clashes. No effect, still crashes the interpreter.
4. Any other ideas what I could try? I want to note that the chance exists that the problem is in the Rebol-3 interpreter. I just want to track it further down.
Thanks a lot.
--
Robert M. Münch
http://www.robertmuench.de
More information about the Vortex
mailing list