freebsd-skq/lib
Mike Makonnen 98a11db62d When suspending a thread if the timeout was very short or
the system call got interrupted and the absolute timeout is
converted to a relative timeout, it may happen that we get a
negative number. In such a case, simply set the timeout to
zero so that if the event that the thread wants to wait for has
happened it can still return successfully, but if it hasn't
happened then the thread doesn't suspend indefinitely. This should
fix certain applications (including mozilla) that seem to hang
indefinitely sometimes.

Noticed and debugged by: Morten Johansen <root@morten-johansen.net>
2004-01-29 09:44:36 +00:00
..
compat
csu The <bsd.files.mk> API seems the best to use here. 2004-01-20 13:31:35 +00:00
libalias Mostly mechanical rework of libalias: 2004-01-17 10:52:21 +00:00
libatm
libbind
libbluetooth
libbsnmp Rename the MIBS makefile variable to BMIBS so that it does not conflict 2004-01-24 20:12:30 +00:00
libbz2
libc Add reference to environ(7) 2004-01-29 09:27:24 +00:00
libc_r Initialize the (i386) frame pointer when setting up a thread 2004-01-22 19:15:08 +00:00
libcalendar
libcam
libcom_err
libcompat
libcrypt
libdevinfo
libdevstat
libdisk Fix an uninitialized variable bug that caused write_pmbr() to bogusly 2004-01-28 03:38:25 +00:00
libedit
libexpat
libfetch I don't normally use my middle name, so remove it from attributions in 2004-01-25 11:39:42 +00:00
libform
libftpio
libgeom
libio Remove now redundant and now conflicting declaration of sysarch(2). 2004-01-10 18:37:11 +00:00
libipsec
libipx
libisc
libkiconv
libkse Return EPERM if mutex owner is not current thread but it tries to 2004-01-17 03:09:57 +00:00
libkvm
libmd
libmenu
libmilter
libmp
libncp
libncurses
libnetgraph Increment WARNS. 2004-01-28 00:11:42 +00:00
libngatm
libopie
libpam Implement pam_sm_close_session(). 2004-01-26 19:28:37 +00:00
libpanel
libpcap
libpthread Return EPERM if mutex owner is not current thread but it tries to 2004-01-17 03:09:57 +00:00
libradius
librpcsvc
libsbuf
libsdp Cleanup CFLAGS in libsdp(3) Makefile 2004-01-25 21:33:59 +00:00
libsm
libsmb
libsmdb
libsmutil
libstand Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
libtacplus
libtelnet
libthr When suspending a thread if the timeout was very short or 2004-01-29 09:44:36 +00:00
libufs
libugidfw
libusbhid The report size is not a local item, so don't clear it when clearing local items. 2004-01-28 00:05:22 +00:00
libutil
libvgl
libwrap
libxpg4
liby
libypclnt
libz
msun
ncurses
Makefile Add NO_BLUETOOTH knob to the build process 2004-01-28 00:42:51 +00:00
Makefile.inc