summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_spinlock.c
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-06-09 23:08:41 +0000
committerjb <jb@FreeBSD.org>1998-06-09 23:08:41 +0000
commit10b40100e5df4d90faef790040245659fd87b28b (patch)
tree8811cbcc4a0311cc21bddabddb5997aa05198e39 /lib/libpthread/thread/thr_spinlock.c
parentca0476a680640c407e6251600410113319f64bc0 (diff)
downloadFreeBSD-src-10b40100e5df4d90faef790040245659fd87b28b.zip
FreeBSD-src-10b40100e5df4d90faef790040245659fd87b28b.tar.gz
POSIX says that pthread_exit() is not allowed to be called from a
cleanup destructor, so trap this case to prevent me from being being burnt again by applications that try to do this. With this change, an application (like one using a mis-configured ACE) will exit the process after displaying a message quoting the POSIX section that the application has violated.
Diffstat (limited to 'lib/libpthread/thread/thr_spinlock.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud