FBSD 5.5 and software timers

Michael Scheidell scheidell at secnap.net
Fri Jul 28 11:30:17 UTC 2006


> -----Original Message-----
> From: M. Warner Losh [mailto:imp at bsdimp.com] 
> Sent: Thursday, July 27, 2006 9:39 PM
> To: Michael Scheidell
> Cc: freebsd-hackers at freebsd.org
> Subject: Re: FBSD 5.5 and software timers

> libc_r depends on absolute system time to do its sleeps and 
> timeouts, and has since FreeBSD 3.4.  This dependency has 

Could be, but it worked up to and including 5.4.

> been the result of many conversations over time, and has had 
> several patches posted. Since libc_r is dead technology, 
> there's little chance they will be adopted.

I replaced libc_r with libthr and two things happen:
One of my threads doesn't run, and it won't die (kill -9 doesn't even
kill it)

I replaced libc_r with libpthread and it immediately reboots the system!

I am going to try to nail down just what and why this happens and post
that.
(reminder: even if this change happened in 3.4, it didn't affect me till
5.5)


More information about the freebsd-hackers mailing list