NetBSD-Bugs archive

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

lib/48407: NetBSD miss pthread_mutex_timedlock



>Number:         48407
>Category:       lib
>Synopsis:       NetBSD miss pthread_mutex_timedlock
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 26 11:20:00 +0000 2013
>Originator:     Arnaud Degroote
>Release:        current
>Organization:
>Environment:
NetBSD xena 6.99.27 NetBSD 6.99.27 (GENERIC) #0: Sat Nov 16 11:01:15 UTC 2013  
zul@xena:/home/zul/netbsd-dev/build_temp/amd64/objdir/sys/arch/amd64/compile/GENERIC
 amd64

>Description:
Code / man inspection :)
>How-To-Repeat:

>Fix:
Try to fix the problem myself, but my pthread internal understanding is not 
good enough.

First try is on 

http://homepages.laas.fr/adegroot/0001-Add-support-for-pthread_mutex_timedlock.patch

but christos tells me it is incorrect (if I understand properly, one can only 
remove a waiter only if it is in the head of the ptm_waiters, please correct me 
if wrong).

Additional patches (man pages update + tests update)
http://homepages.laas.fr/adegroot/0002-Add-man-page-for-pthread_mutex_timedlock.patch
http://homepages.laas.fr/adegroot/0003-Add-some-tests-for-pthread_mutex_timedlock.patch



Home | Main Index | Thread Index | Old Index