From owner-cvs-lib Thu Feb 12 17:29:05 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA18941 for cvs-lib-outgoing; Thu, 12 Feb 1998 17:29:05 -0800 (PST) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA18637; Thu, 12 Feb 1998 17:27:48 -0800 (PST) (envelope-from julian@FreeBSD.org) From: Julian Elischer Received: (from julian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA26226; Thu, 12 Feb 1998 17:27:35 -0800 (PST) Date: Thu, 12 Feb 1998 17:27:35 -0800 (PST) Message-Id: <199802130127.RAA26226@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc_r/uthread uthread_accept.c uthread_create.c uthread_fd.c uthread_init.c uthread_ioctl.c uthread_kern.c uthread_write.c uthread_writev.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 1998/02/12 17:27:35 PST Modified files: lib/libc_r/uthread uthread_accept.c uthread_create.c uthread_fd.c uthread_init.c uthread_ioctl.c uthread_kern.c uthread_write.c uthread_writev.c Log: Fixes from Jeremy Allison and Terry Lambert for pthreads: specifically: uthread_accept.c: Fix for inherited socket not getting correct entry in pthread flags. uthread_create.c: Fix to allow pthread_t pointer return to be null if caller doesn't care about return. uthread_fd.c: Fix for return codes to be placed into correct errno. uthread_init.c: Changes to make gcc-2.8 thread aware for exception stack frames (WARNING: This is #ifdef'ed out by default and is different from the Cygnus egcs fix). uthread_ioctl.c: Fix for blocking/non-blocking ioctl. uthread_kern.c: Signal handling fixes (only one case left to fix, that of an externally sent SIGSEGV and friends - a fairly unusual case). uthread_write.c: Fix for lock of fd - ask for write lock, not read/write. uthread_writev.c: Fix for lock of fd - ask for write lock, not read/write. Pthreads now works well enough to run the LDAP and ACAPD(with the gcc 2.8 fix) sample implementations. Revision Changes Path 1.5 +1 -2 src/lib/libc_r/uthread/uthread_accept.c 1.4 +2 -1 src/lib/libc_r/uthread/uthread_create.c 1.5 +22 -10 src/lib/libc_r/uthread/uthread_fd.c 1.6 +35 -1 src/lib/libc_r/uthread/uthread_init.c 1.2 +35 -4 src/lib/libc_r/uthread/uthread_ioctl.c 1.6 +53 -1 src/lib/libc_r/uthread/uthread_kern.c 1.4 +3 -3 src/lib/libc_r/uthread/uthread_write.c 1.4 +3 -3 src/lib/libc_r/uthread/uthread_writev.c