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.

AC


On 27-Sep-06, at 3:42 PM, Christian Schmitz wrote:

Alexander Cohen <[EMAIL PROTECTED]> wrote:

Is there any way to set/unset a rb pragma from within a plugin?

This questions doesn't make sense.

Whether your code does checks depends on your C compiler.
And if your user fills events, they can again use the pragma on their
own.

Gruß
Christian

--
Around eleven thousand functions in one REALbasic plug-in.
The Monkeybread Software Realbasic Plugin v6.3. Now universal!
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
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>

_______________________________________________
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