NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/37791: _lwp_park() bug



>Number:         37791
>Category:       kern
>Synopsis:       _lwp_park() doesn't honour its timeout but returns immediately
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 18 01:10:00 +0000 2008
>Originator:     Reinoud Zandijk
>Release:        NetBSD 4.99.49
>Organization:
NetBSD

>Environment:


System: NetBSD heethoofdje.13thmonkey.org 4.99.49 NetBSD 4.99.49 (GENERIC) #1: 
Fri Jan 18 00:02:06 CET 2008 
reinoud%heethoofdje.13thmonkey.org@localhost:/usr/sources/cvs.netbsd.org/src/sys/arch/i386/compile/GENERIC
 i386
Architecture: i386
Machine: i386
>Description:

When calling pthread_cond_timedwait(), it doesn't honour its abstime but 
immediately returns. Even specifying values in seconds does not make a 
difference; it just returns.

pthread_cond_wait() eventually dispatches to _lwp_park() that obviously 
returns immediately.


>How-To-Repeat:
try a pthread_cond_timedwait() with a timeout of few seconds and whatever 
you pass, it returns immediately.

>Fix:
Unknown

>Unformatted:
 
 



Home | Main Index | Thread Index | Old Index