On 27 Sep 2006, at 21:15, Alexander Cohen wrote:

Heres the thing. I am using pthreads in a plugin and it calls back into rb. I know, thats a no no but it does work if your carefull. When it calls into rb, i need to set stackOverflow checking to off. If i dont, i get a stackOverflow exception. Problem is, i need to put that pragma into every functions that is called within the thread. And here's the kicker... even the function that are within a plugin.

my question does make sense though. Compile time or not, rb has its own mechanisms for rb code pragmas and i need to access them in a plugin.

It makes sense and it's impossible, so it doesn't really make sense after all.

Perhaps you should redesign your plugin?

RB isn't properly multi-threaded, and isn't built around that. So either you start locking stuff before calling RB functions... or just don't call them.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to