Subject: Re: Pthreads question
To: Jaromir Dolecek <>
From: Zdenek Salvet <>
List: current-users
Date: 10/02/1997 07:25:16
> When I do shared library, some of test programs keep core-dumping
> while attempting to make a mutex; one of library internal arrays
> isn't set on stratup it seems.  w/ static library everything seems
> to work just okay. Is this known problem, or I'm doing something
> stupid ?

pthread_init() is missing in those test programs;
when using static library it is run by C++ global constructor hack.
With pthread_init() all tests work fine.

Zdenek Salvet                                     
           If God had meant for us to be in the Army,
         we would have been born with green, baggy skin.