[PD-dev] Is gensym() threadsafe?

Tim Blechmann TimBlechmann at gmx.net
Tue Dec 13 23:09:01 CET 2005


hi kjetil,

> I'm working on the snd external, and wonder about gensyms thread
> safety. It looks to be, but I'm not quite sure. In case it isn't
> is there a locking-mechanism or something I can use?
> 
> I also see that there are some functions called sys_lock or
> something, how does they work?

gensym is basically not thread safe ... for the devel branch i made
gensym threadsafe, but if you want to write code for miller's pd, you
need to use the syslock ...

cheers ... tim

-- 
mailto:TimBlechmann at gmx.de    ICQ: 96771783
http://www.mokabar.tk

latest mp3: kMW.mp3
http://mattin.org/mp3.html

latest cd: Goh Lee Kwang & Tim Blechmann: Drone
http://www.geocities.com/gohleekwangtimblechmannduo/

After one look at this planet any visitor from outer space 
would say "I want to see the manager."
				      William S. Burroughs




More information about the Pd-dev mailing list