[PD-dev] Is gensym() threadsafe?

Tim Blechmann TimBlechmann at gmx.net
Wed Dec 14 00:53:02 CET 2005


> Btw, I'd like to know, how do I make reference-counting threadsafe? is
> there an efficient way? 

you can count atomically ... 

> Btw^2, I'd like to know, how does malloc() work with pthreads? how
> does it achieve threadsafety? what's the impact on realtime?

malloc is thread safe, but that realtime safe ...

t

-- 
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