From owner-cvs-all Fri Apr 3 01:33:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA04698 for cvs-all-outgoing; Fri, 3 Apr 1998 01:33:13 -0800 (PST) (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 BAA04692; Fri, 3 Apr 1998 01:33:11 -0800 (PST) (envelope-from jb@FreeBSD.org) From: John Birrell Received: (from jb@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA10118; Fri, 3 Apr 1998 01:31:17 -0800 (PST) Date: Fri, 3 Apr 1998 01:31:17 -0800 (PST) Message-Id: <199804030931.BAA10118@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_detach.c uthread_join.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk jb 1998/04/03 01:31:16 PST Modified files: lib/libc_r/uthread pthread_private.h uthread_create.c uthread_detach.c uthread_join.c Log: Add a magic field to the pthread structure to help recognize valid threads from invalid ones. The pthread structure is opaque to the user so this change does not cause any incompatibilities. Hopefully this change will help code that was written for draft 4 fail gracefully if the programmer ignores the compiler warning about the change in the level of indirection for the argument passed to pthread_detach(). I got burnt, so I fixed then (expletive deleted) thing. These functions comply with the revised standard. That should shut Terry up! Revision Changes Path 1.7 +8 -1 src/lib/libc_r/uthread/pthread_private.h 1.6 +6 -0 src/lib/libc_r/uthread/uthread_create.c 1.5 +1 -1 src/lib/libc_r/uthread/uthread_detach.c 1.4 +10 -0 src/lib/libc_r/uthread/uthread_join.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message