Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 1997 08:50:35 -0800 (PST)
From:      mikk0022@maroon.tc.umn.edu
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   misc/4908: pthread_cond_wait doesn't
Message-ID:  <199710311650.IAA18872@hub.freebsd.org>
Resent-Message-ID: <199710311700.JAA19604@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4908
>Category:       misc
>Synopsis:       pthread_cond_wait doesn't
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 31 09:00:00 PST 1997
>Last-Modified:
>Originator:     Chris Mikkelson
>Organization:
University of Minneota
>Release:        2.2.2
>Environment:
FreeBSD mercury 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Sat Aug 16 14:16:43 CDT 1997     root@mercury:/usr/src/sys/compile/MERCURY  i386

>Description:
Using libc_r, a call to pthread_cond_wait() does not block as it
is supposed to.  I have run the same program on other systems to
verify that it was not a bug in my program.
>How-To-Repeat:
Write a small program which initializes a condition and a mutex,
locks the mutex and calls pthread_cond_wait(&<cond>, &<mutex>);
The call should cause the program to hang.
>Fix:

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710311650.IAA18872>