[Bordeaux-threads-devel] with-thread-name

Attila Lendvai attila.lendvai at gmail.com
Fri Oct 26 12:16:40 UTC 2007


hi!

i've got a macro that i need for debugging code and i think it would
be useful for b-t. it's called with-thread-name, that appends the
given string to the thread's name and restores the old name in an
unwind-protect.

it's useful when you have 10 nodes with 25 threads each and need to
debug stuff like sbcl hanging in CLOSE on a socket.

if you like the idea i can move it into b-t and package up as a darcs patch.

-- 
 attila



More information about the bordeaux-threads-devel mailing list