From owner-cvs-all Sat Apr 11 00:47:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA01391 for cvs-all-outgoing; Sat, 11 Apr 1998 00:47:38 -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 AAA01386; Sat, 11 Apr 1998 00:47:37 -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 AAA00678; Sat, 11 Apr 1998 00:47:24 -0700 (PDT) Date: Sat, 11 Apr 1998 00:47:24 -0700 (PDT) Message-Id: <199804110747.AAA00678@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_create.c uthread_file.c uthread_info.c uthread_kern.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk jb 1998/04/11 00:47:23 PDT Modified files: lib/libc_r/uthread pthread_private.h uthread_create.c uthread_file.c uthread_info.c uthread_kern.c Log: Change the FILE locking to be by FILE, not by the underlying fd as it was. Add a FILE_WAIT state and queue threads waiting for a FILE lock. Start using the sys/queue.h macros instead of the way that MIT pthreads did it. Add a thread name to the private thread structure and a non-POSIX function to set this. This helps (me at least) when sending a SIGINFO to a threaded process to get a /tmp/uthread.dump to see what the threads are doing this time. It is nice to be able to recognise (yes, I spell that with an 's' too) which threads are which. Revision Changes Path 1.9 +9 -2 src/lib/libc_r/uthread/pthread_private.h 1.8 +7 -0 src/lib/libc_r/uthread/uthread_create.c 1.2 +282 -48 src/lib/libc_r/uthread/uthread_file.c 1.3 +19 -8 src/lib/libc_r/uthread/uthread_info.c 1.8 +4 -1 src/lib/libc_r/uthread/uthread_kern.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message