[PD-dev] Is gensym() threadsafe?

Tim Blechmann TimBlechmann at gmx.net
Wed Dec 14 01:40:20 CET 2005


> > well, it's not as easy as that ... pd is not designed to be a
> > multithreaded application ...
> > so someone could just say ... "don't use threads"
> >
> 
> I don't understand why its not as easy as that... Theres nothing wrong
> using threads and locks as long as all of them is running realtime.
> 
> You already know the following, but just to clarify: You have a
> problem if a realtime thread is waiting on a non-realtime thread,
> then, any non-realtime thread in the system can interrupt the
> realtime thread. My proposial for sys_lock eliminates that particular
> problem.

just take it as design fault of pd :-/

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