guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: thread assert with 1.8.2


From: Greg Troxel
Subject: Re: thread assert with 1.8.2
Date: Wed, 22 Aug 2007 19:48:55 -0400
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (berkeley-unix)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]