[PD-dev] Is gensym() threadsafe?

Thomas Grill gr at grrrr.org
Wed Dec 14 00:07:22 CET 2005



Kjetil S. Matheussen schrieb:

>
> How about changing sys_lock to something like this:
>
> void sys_lock(){
>    if(pd_is_running_realtime() && caller_is_not_running_realtime()){
>       post("Error! You must run your thread with realtime priority to 
> be allowed to call sys_lock. Period!");
>       abort();
>    }
>    ...
> }
>
What would be gained by that?

greetings,
Thomas

-- 
Thomas Grill
http://grrrr.org






More information about the Pd-dev mailing list