[PD-dev] thread safety in cvs devel_0_36

Thomas Grill t.grill at gmx.net
Mon Jun 30 15:21:00 CEST 2003


Hi all,
i introduced another method for thread safety into the pd cvs branch
devel_0_36.
As suggested by Miller the idle time of PD can now be exploited to every PD
function from a second thread.
For that, use the new API function pd_lock() before and pd_unlock() after
the call. (there's also pd_trylock() )

flext (tomorrow's cvs version) also uses this feature if compiled
with -DFLEXT_PDLOCK

best greetings,
Thomas





More information about the Pd-dev mailing list