From owner-cvs-all Tue Jun 9 16:17:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA28188 for cvs-all-outgoing; Tue, 9 Jun 1998 16:17:01 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) 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 QAA28165; Tue, 9 Jun 1998 16:16:59 -0700 (PDT) (envelope-from jb@FreeBSD.org) From: John Birrell Received: (from jb@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA02482; Tue, 9 Jun 1998 16:16:55 -0700 (PDT) Date: Tue, 9 Jun 1998 16:16:55 -0700 (PDT) Message-Id: <199806092316.QAA02482@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_fd.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk jb 1998/06/09 16:16:54 PDT Modified files: lib/libc_r/uthread uthread_fd.c Log: Add compile time debug instead of doing this all the time. Reduce the time that a thread keeps the file descriptor table locked. In particular, perform malloc/free calls outside the lock and handle the situation where two threads can race to initialise the table entry for the same file descriptor. Revision Changes Path 1.8 +333 -46 src/lib/libc_r/uthread/uthread_fd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message