[PD-dev] scheduler problem with SENDDACS_NO

guenter geiger geiger at xdv.org
Wed Nov 10 11:44:49 CET 2004


On Wed, 10 Nov 2004, Thomas Grill wrote:
> > I thought that maybe sys_unlock should be called before
> > sys_send_dacs, because thats the only place that pd waits under linux.
> > didn't doublecheck though.
>
> I tried that yesterday and it works well (i also posted a patch at the patch
> tracker), although i'm not sure that this is really safe - what about [; pd
> dsp 0( posted during that time? (ok, maybe that's pathological)

maybe it would be better to change the idle function to do a select() on
the soundcard I/O under Linux. This would make it more secure.
Unfortunately no time to really try this out.

Guenter

>
> best greetings,
> Thomas
>
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-dev
>





More information about the Pd-dev mailing list