misc/40671: pthread_cancel doesn't remove thread from condition
queue
Craig Rodrigues
rodrigc at crodrigues.org
Mon Feb 16 16:10:18 PST 2004
The following reply was made to PR misc/40671; it has been noted by GNATS.
From: Craig Rodrigues <rodrigc at crodrigues.org>
To: freebsd-gnats-submit at freebsd.org
Cc: richard at cogsci.ed.ac.uk
Subject: Re: misc/40671: pthread_cancel doesn't remove thread from condition queue
Date: Mon, 16 Feb 2004 19:06:32 -0500
Hi,
On FreeBSD-CURRENT, if I link your testcase to libc_r, I get this
error:
Fatal error '_waitq_remove: Not in queue' at line 350 in file /usr/src/lib/libc_r/uthread/uthread_priority_queue.c (errno = 0)
Abort trap (core dumped)
If I link your testcase to libpthread, I get no error.
It looks like this is not a problem in the new libpthread library.
--
Craig Rodrigues
rodrigc at crodrigues.org
More information about the freebsd-threads
mailing list