Subject: Re: galeon is failing on 1.6R
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: Luke Mewburn <lukem@wasabisystems.com>
List: current-users
Date: 04/24/2003 23:48:20
On Wed, Apr 23, 2003 at 03:40:34PM -0400, Nathan Williams wrote:
| "Steven M. Bellovin" <smb@research.att.com> writes:
|
| > Put another way, if I can't get some application fixed, my choice may
| > be to accept occasional crashes because the application's thread code
| > is broken, or to have it not run at all because of the assertion.
|
| Okay, I've done something like this. The environment variable
| PTHREAD_ERRORMODE controls the behavior of libpthread on (detected)
| application errors. The settings are "ignore", "print", and
| "abort". The error messages should also be more useful in explaining
| what the detected problem was, rather than just the internal test that
| failed.
Hi Nathan.
May I suggest that you consider changing this to use a syntax similar
to $LIBC_DIAGNOSTIC as documented in _DIAGASSERT(3), and renaming the
variable to $PTHREAD_DIAGNOSTIC from $PTHREAD_ERRORMODE.
Thanks,
Luke.