[PD-dev] per-thread storage in Pd in support of pdlib - discussion?

Mathieu Bouchard matju at artengine.ca
Wed Feb 8 00:07:48 CET 2012


Le 2012-01-14 à 22:16:00, Peter Brinkmann a écrit :

> * In many cases, the audio thread is beyond the control of the 
> programmer.  For instance, if you want one Pd instance per JACK client, 
> or one Pd instance per audio unit in iOS, then you just register a 
> callback, and you have no real idea which thread will ultimately invoke 
> your callback.

Even when you do have control over threading, as on Android, you have 
several reasons to want to split your app in several parts and have them 
communicate and that means either being able to call pd functions from any 
thread or inventing elaborate workarounds.

  ______________________________________________________________________
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC


More information about the Pd-dev mailing list