I read what Kevin wrote about linux threads, and read your patch again, and I now agree that it should be checking for the same problem that the NetBSD pthread ipmlementation errored on.
I ran the tests with pthread debugging turned off: export PTHREAD_DIAGASSERT=Ae # ignore errors, log to stdout During the thread test, I got 69 instances of: guile: Error detected by libpthread: Unlocking unlocked mutex. Detected by file "/usr/home/gdt/NetBSD-current/src/lib/libpthread/pthread_mutex.c", line 357, function "pthread_mutex_unlock". See pthread(3) for information. and the test passed. Hope this helps. I do not understand the thread code in guile one little bit, and short of "grok that and find the bug, either there or in NetBSD pthread lib", let me know if I can do anything else helpful. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel