[PD-dev] clocks & threads
mpuckett at man104-1.ucsd.edu
Wed Dec 4 02:31:57 CET 2002
I don't think clock_set is thread safe in Pd... it manipulates a linked
list (static) without locking other threads out of it....
On Tue, Dec 03, 2002 at 08:09:49PM +0100, Thomas Grill wrote:
> clock_set is supposed to be thread-safe (both in PD and xMax) - and it's one
> of the few.
> In flext, it's used to implement a thread-safe message queue for sending
> messages to the objects' outlets.
> best greetings,
> ----- Original Message -----
> From: "Tom Schouten" <doelie at zzz.kotnet.org>
> To: <pd-dev at iem.kug.ac.at>
> Sent: Tuesday, December 03, 2002 7:57 PM
> Subject: [PD-dev] clocks & threads
> > hi list,
> > is it safe to set a clock using clock_set outside of the main loop thread?
> > if not, is there a way to work around this?
> > tom
> > _______________________________________________
> > PD-dev mailing list
> > PD-dev at iem.kug.ac.at
> > http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev
> PD-dev mailing list
> PD-dev at iem.kug.ac.at
More information about the Pd-dev