[PD] object using a thread?

Tim Blechmann TimBlechmann at gmx.net
Sun Aug 28 19:31:18 CEST 2005


> But you still need locks! When you write data to a buffer you should 
> lock the buffer (or if there are two of them, lock the variable that 
> indicates which one is currently used). Also do so when reading from
> the buffer, or you'll get sooner or later hard to reproduce crashes...
well, you don't need locks to synchronize two threads ...

the lockfree fifos, that are used to place the idle callbacks in
devels's main thread, are safe to be used from different threads ...

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