hi kjetil,
Hm, no, actually, I can't do that. Snd isn't running with realtime priority, so if pd needs to wait for snd, pd will in practice lose its realtime priority when it has to wait for Snd. Miller P.: Please apply Tim's threadsafe gensym to your version. :-)
i know ... priority inversion and all the stuff ... the problem of the threadsafe gensym implementation ... it's using a thread lock, too ... although only for the inserting into the hash table ... i've got a lockfree thread safe implementation of a hash table on my hard drive, but i wrote it in c++ and it's only tested on x86/linux ...
t