threads/90392: libc stdio memory leak with pthread

Daniel Eischen deischen at freebsd.org
Thu Dec 15 09:22:22 PST 2005


On Thu, 15 Dec 2005, David Xu wrote:

> The following reply was made to PR threads/90392; it has been noted by GNATS.
>
> From: David Xu <davidxu at freebsd.org>
> To: bug-followup at freebsd.org, dhartmei at freebsd.org
> Cc:
> Subject: Re: threads/90392: libc stdio memory leak with pthread
> Date: Thu, 15 Dec 2005 18:04:02 +0800
>
>  It does not deadlock, as I found the FILELOCK is a recursive lock. ;-)

Still, we shouldn't use recursive locks in our implementation of libc.
There really is no need to.  If you can fix it, please do so :-)

-- 
DE



More information about the freebsd-threads mailing list