[PD-dev] outlet_anything() & threads

Georg Holzmann grhPD at gmx.at
Wed May 3 08:41:41 CEST 2006


Hallo!

> as for the actual code in question, it creates only one single thread to read 
> from the usb bus, and send data to the outlets if anything arrives. there are 
> no other threads created.... an there are no variables/memory that the thread 
but the outlet_anything() method is called in your helper thread?
Then all the following objects, also connected to that one, will be in 
that helper thread ... so you have to synchronize it with the pd main 
thread first ...

> tim, since i know nothing about flext (yet), just a few quick question (maybe 
> i asked that loong ago alread....): does it work on linux/os-x/win? i need 
> all three ....
yes.
But you can do it of course also without flext - look e.g. at the 
[sndfiler] external ...

LG
Georg




More information about the Pd-dev mailing list