Pd already does parallelism, but not using threads. It is
determinstic instead, meaning it will produce the exact same bit-for-
bit result everytime it runs. Its quite hard to make threaded
programs do that.
.hc
On Oct 27, 2009, at 2:26 PM, Charles Henry wrote:
Hi, Pat
It looks interesting, but I'm not sure yet how you use it. So, you write an external, and some of the routines can be wrapped up with (or called from) the pthread templates? Or do you take your routines and find/replace names to write your externals?
I've been studying parallel programming a lot lately, and it's given me some ideas for Pd, namely asynchronous/non-blocking externals and explicitly locking externals. I'm not quite sure where to go with parallel programming and Pd (and I'm really not too knowledgable on the internals for dsp scheduling). I'd be interested to know what you do with threads in Pd and what you think about parallelism.
Chuck
On Tue, Oct 20, 2009 at 2:04 PM, patrick puredata@11h11.com wrote:
hi,
here's a pthread template that works for me: http://www.workinprogress.ca/pure-data-external-pthread-template/
pat
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I hate it when they say, "He gave his life for his country." Nobody
gives their life for anything. We steal the lives of these kids. -
Admiral Gene LeRocque