Date: Sun, 17 Aug 2003 21:03:08 -0700 (PDT) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpthread/thread thr_exit.c Message-ID: <200308180403.h7I438ZZ050781@repoman.freebsd.org>
index | next in thread | raw e-mail
davidxu 2003/08/17 21:03:08 PDT
FreeBSD src repository
Modified files:
lib/libpthread/thread thr_exit.c
Log:
Direct call exit if thread was never created. This makes it safe to call
pthread_exit in main() without creating any thread.
Tessted by: deischen
Revision Changes Path
1.34 +2 -0 src/lib/libpthread/thread/thr_exit.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308180403.h7I438ZZ050781>
