Hi all,
I don't think clock_set is thread safe in Pd... it manipulates a linked list (static) without locking other threads out of it....
cheers Miller
On Tue, Dec 03, 2002 at 08:09:49PM +0100, Thomas Grill wrote:
Hi, 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, Thomas
----- Original Message ----- From: "Tom Schouten" doelie@zzz.kotnet.org To: pd-dev@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@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev
PD-dev mailing list PD-dev@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev