isn't the problem of pd right now, that the audio chain can't be chopped into different threads? if the pd audio chain would support threads for every object, would it be as easy as to add a (or some) line(s) of code for every dsp object? is it correct that some soundcards compute part of the audio chain on the soundchip? which parts? I only ask out of interest, I would not be able to implement any of the solutions :(, so feel free to ignore the questions, if you think this is more a developer discussion and to much theoretical right now... marius.
Martin Peach wrote:
sched_setaffinity pthread_setaffinity_np (NPTL-pthreads)
and i just found a linux-journal article: http://www.linuxjournal.com/article/6799
OK, thanks. Here's one about the MS version: http://msdn2.microsoft.com/en-us/library/ms684251(VS.85).aspx
It mentions the function SetThreadAffinityMask().
Martin