misc/143807: pthread_create retval check fixup

pluknet pluknet at gmail.com
Fri Feb 12 16:00:18 UTC 2010

The following reply was made to PR misc/143807; it has been noted by GNATS.

From: pluknet <pluknet at gmail.com>
To: Ruslan Ermilov <ru at freebsd.org>
Cc: bug-followup at freebsd.org
Subject: Re: misc/143807: pthread_create retval check fixup
Date: Fri, 12 Feb 2010 18:53:33 +0300

 On 12 February 2010 18:22, Ruslan Ermilov <ru at freebsd.org> wrote:
 > On Thu, Feb 11, 2010 at 04:53:14PM +0000, pluknet wrote:
 >> I faced with incorrect return code checking in netrate's pthread_create(3)
 >> calls: pthread_create may return errcode > 0, while in netrate/ code
 >> pthread_create() checked for < 0 on error.
 > The scope of the problem isn't limited just to pthread_create().
 > In fact, it seems to be a common problem (I only scanned
 > src/tools/):
 Yep, that's what I came with later in PR. Just tried to not affect too
 much at one step.

More information about the freebsd-bugs mailing list