[PD-dev] Is gensym() threadsafe?

Mathieu Bouchard matju at artengine.ca
Wed Dec 14 00:38:30 CET 2005


On Wed, 14 Dec 2005, Tim Blechmann wrote:

> 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"
> 
> imo it wouldn't be a bad idea to rewrite pd with threadsafety in
> mind ...

In doing so, which would be the things that you would change, I mean only 
the things that are thread-relevant ?

> > I definitely think something like that should go in. If you are not 
> > running realtime and aquire the lock you potentionally can screw up
> > the sound in a way that can only be solved by letting yourself be
> > running realtime.
> sure, but that's how things work in pd :-(

Imagine if *your* dreadlocks weren't realtime...

On a windy day your hair would be all jittery

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada




More information about the Pd-dev mailing list