Subject: Re: locking in pthread_detach function
To: Jan Kryl <firstname.lastname@example.org>
From: Bernd Ernesti <email@example.com>
Date: 08/23/2007 19:37:46
netbsd-bugs is mainly for bugs send via send-pr or the webinterface
Please use send-pr or ask on another list, maybe current-users or
On Thu, Aug 23, 2007 at 05:26:31PM +0200, Jan Kryl wrote:
> I have found a weird code in libpthread, file pthread.c, function
> thread->pt_flags |= PT_FLAG_DETACHED;
> Shouldn't we use thread->pt_lock instead of self->pt_lock for locking?
> Or am I missing something?