Date: Fri, 3 Apr 1998 01:31:17 -0800 (PST) From: John Birrell <jb@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 Message-ID: <199804030931.BAA10118@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804030931.BAA10118>
