freebsd-skq/lib
Daniel Eischen b5a8a15c2f Don't needlessly poll file descriptors when there are no
file descriptors needing to be polled (Doh!).  Reported
by Dan Nelson <dnelson@emsphone.com>.

Don't install and start the scheduling timer until the
first thread is created.  This prevents the overhead of
having a periodic scheduling signal in a single threaded
program.  Reported by Dan Nelson <dnelson@emsphone.com>.

Allow builtin longjmps out of application installed
signal handlers without the need perform any post-handler
cleanup:

  o Change signal handling to save the threads interrupted
    context on the stack.  The threads current context is
    now always stored in the same place (in the pthread).
    If and when a signal handler returns, the interrupted
    context is copied back to the storage area in the pthread.

  o Before calling invoking a signal handler for a thread,
    back the thread out of any internal waiting queues
    (mutex, CV, join, etc) to which it belongs.

Rework uthread_info.c a bit to make it easier to change
the format of a thread dump.

Use an alternal signal stack for the thread library's
signal handler.  This allows us to fiddle with the main
threads stack without fear of it being in use.

Reviewed by:	jasone
2000-11-09 05:08:26 +00:00
..
compat add libxpg4 2000-06-14 14:38:11 +00:00
csu Alpha verions of the crt initialization and finalization files required 2000-10-30 05:21:08 +00:00
libalias Added boolean argument to link searching functions, indicating 2000-10-30 17:24:12 +00:00
libatm Replace beforeinstall target with new variables used by .mk system. 2000-01-14 07:57:47 +00:00
libbind Build more components to get named to build. 1999-11-30 04:40:54 +00:00
libc Use size_t rather than a 16-bit data type fo the length. 2000-11-07 22:19:23 +00:00
libc_r Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
libcalendar Introduce .Lb macro to libcalendar manpage. 2000-04-22 15:51:37 +00:00
libcam Fixed typo: .FR -> .Fa 2000-11-06 12:41:27 +00:00
libcom_err Replace beforeinstall target with new variables used by .mk system. 2000-01-14 07:57:47 +00:00
libcompat Return an error instead of overflowing the buffer in the case of a long 2000-08-04 11:15:48 +00:00
libcrypt Still have to support libscrypt for now :( Add #defines to take DES 2000-08-24 17:51:16 +00:00
libdevstat Introduce .Lb macro to libdevstat library manpage 2000-04-22 15:58:01 +00:00
libdisk MFS: add ATA raid support for sysinstall 2000-11-06 23:15:01 +00:00
libedit Include fcntl.h 2000-10-02 22:07:53 +00:00
libfetch Use CHECK_FLAG 2000-10-29 15:56:10 +00:00
libform Update for ncurses 5.1-20001009 import 2000-10-11 08:19:56 +00:00
libftpio Fix two bugs: 2000-08-17 23:46:13 +00:00
libgnumalloc $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
libio Add functions which allow i/o memory to be accessed without forcing a 2000-02-12 14:57:01 +00:00
libipsec synchronize with latest kame tree. 2000-07-04 16:22:05 +00:00
libipx Introduce .Lb macro to libipx library manpage 2000-04-22 16:01:01 +00:00
libisc Build the ISC library as libisc. This library comes as part of the 2000-10-24 20:10:25 +00:00
libkse Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
libkvm Good, fixing the header showed incorrect usage of it! #define _KERNEL 2000-08-06 17:03:09 +00:00
libm Disconnect libm from the build tree. It's broken, not being 2000-05-02 14:16:19 +00:00
libmd Introduce .Lb macro to libmd manpages 2000-04-22 16:11:30 +00:00
libmenu Oops, beforedepend isn't needed. The build problem I had was due to 2000-10-11 08:20:37 +00:00
libncp Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
libncurses Fix a buildworld hiccup with build-tools that wasn't present in standalone 2000-10-11 11:25:47 +00:00
libnetgraph - Make sure the message token returned by NgSendMsg() is non-negative 2000-06-21 23:01:07 +00:00
libopie Add some extra functions adapted from OpenBSD, in preparation for 2000-05-15 04:20:54 +00:00
libpam Update to the version of pam_ssh corresponding to OpenSSH 2.1 (taken 2000-05-30 09:03:15 +00:00
libpanel Update for ncurses 20001009 import 2000-10-11 08:17:19 +00:00
libpcap Don't try to compile in INET6 support when NOINET6 is defined. 2000-04-15 20:45:52 +00:00
libposix1e o Introduce cap_from_text() and cap_to_text() implementations. 2000-10-13 18:24:58 +00:00
libpthread Don't needlessly poll file descriptors when there are no 2000-11-09 05:08:26 +00:00
libradius Fix password clearing bug which prevented challenge/response from working. 2000-11-08 18:36:56 +00:00
libresolv Don't build elf libresolv.so*, no elf freebsd binaries have used it ever. 1998-10-11 04:21:56 +00:00
librpcsvc $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
libskey Fix problem where original author thought `unsigned long' was the best 2000-07-20 20:11:36 +00:00
libsmdb Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
libsmutil Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
libss Get errno from <errno.h>, not from extern int. 2000-09-04 03:54:23 +00:00
libstand Honor the ip address given in the root-path dhcp option. 2000-11-05 14:55:09 +00:00
libtacplus strtok -> strsep (no strtok allowed in libraries) 2000-08-29 21:49:11 +00:00
libtelnet $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
libusb Sync with NetBSD: 2000-10-16 18:13:59 +00:00
libusbhid Sync with NetBSD: 2000-10-16 18:13:59 +00:00
libutil Eliminate inconsistency where a value that contains only whitespace 2000-11-09 00:28:22 +00:00
libvgl Initiate deorbit burn sequence for <machine/console.h>. 2000-10-08 21:34:00 +00:00
libwrap Replace strtok with strsep (strtok is not allowed in libraries) 2000-08-30 06:26:42 +00:00
libxpg4 Bump major to preserve 3.x binaries compatibility 2000-06-13 00:41:38 +00:00
liby $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
libz Prevent buffer overflows. 2000-08-04 06:25:30 +00:00
msun Fix #include order 2000-10-15 16:42:31 +00:00
ncurses Fix a buildworld hiccup with build-tools that wasn't present in standalone 2000-10-11 11:25:47 +00:00
Makefile Build the ISC library as libisc. This library comes as part of the 2000-10-24 20:10:25 +00:00
Makefile.inc