[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-kern
Subject:    PR/48559 lwp park compat
From:       christos () zoulas ! com (Christos Zoulas)
Date:       2014-01-29 16:31:05
Message-ID: 20140129163105.80AB417FDA0 () rebar ! astron ! com
[Download RAW message or body]

Hi,

Last March we discovered an issue with pthread_cond_timedwait()
and specifying different clocks (CLOCK_MONOTONIC vs CLOCK_REALTIME).
While this was fixed in libpthread, the proper fix would be to do
it in the kernel in _lwp_park(2).  This was done, but the kernel
syscall was not exported to userland allowing us to remove this
hack because people wanted more time to explore other changes
to _lwp_park(2) that might also change the footprint of the syscall.

Well, this has not happened, so I am proposing to export the existing
new ABI to userland so that libpthread can use it and stops using the
compat call.

I will do so on Friday if I don't hear otherwise.

christos
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic