From owner-cvs-lib Tue Jun 9 16:09:33 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA26888 for cvs-lib-outgoing; Tue, 9 Jun 1998 16:09:33 -0700 (PDT) (envelope-from owner-cvs-lib) 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 QAA26732; Tue, 9 Jun 1998 16:08:47 -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 QAA02405; Tue, 9 Jun 1998 16:08:43 -0700 (PDT) Date: Tue, 9 Jun 1998 16:08:43 -0700 (PDT) Message-Id: <199806092308.QAA02405@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc_r/uthread uthread_exit.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jb 1998/06/09 16:08:42 PDT Modified files: lib/libc_r/uthread uthread_exit.c Log: 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. Revision Changes Path 1.5 +10 -0 src/lib/libc_r/uthread/uthread_exit.c