Date: Thu, 20 Sep 2001 17:44:51 -0700 (PDT) From: Yuri Victorovich <yuri@tsoft.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/30699: pthread_attr_setscope function fails unconditionally Message-ID: <200109210044.f8L0ip981720@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 30699
>Category: misc
>Synopsis: pthread_attr_setscope function fails unconditionally
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 20 17:50:03 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Yuri Victorovich
>Release: 4.3
>Organization:
Philips
>Environment:
FreeBSD sunflower 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sun Jul 22 16:11:17 CEST 2001 root@sunflower:/root/src/sys/compile/GENERIC i386
b
>Description:
source file src/lib/lib_r/uthread/uthread_attr_setscope.c:
pthread_attr_setscope fails unconditionally for any value of contentionscope.
>How-To-Repeat:
--
>Fix:
In
<<
} else if ((contentionscope != PTHREAD_SCOPE_PROCESS) ||
(contentionscope != PTHREAD_SCOPE_SYSTEM)
>Release-Note:
>Audit-Trail:
>Unformatted:
>>
should be && instead.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109210044.f8L0ip981720>
