Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2007-07-27 06:54:39


On Jul 27, 2007, at 6:00 AM, Bert Wesarg wrote:

>> Passing NULL to pthread_exit() is verbotten.
> Why? I can't find anything in the standard or is it some OMPI
> internal?

The man page for pthread_exit(1) on Linux does not specifically say
that NULL is allowed. Plus, on RHEL4 when using the TLS glibc and
OMPI was compiled with the pathscale compiler, if you pass NULL to
pthread_exit(), an abort is triggered deep within glibc. I don't
know why this doesn't show up with other compilers, though.

-- 
Jeff Squyres
Cisco Systems