I don't think clock_set is thread safe in Pd... it manipulates a linked list (static) without locking other threads out of it....
I actually use clock_delay, but i guess that's just the same and i realized that i'm also using a mutex for it.
hi thomas,
i am wondering how you do this. did you patch pd to use a mutex in the clock routines also? because i can't see how it would be thread safe if you don't do that.
tom