One idea is to change your critical section to mark who has the lock.
This might provide some useful post-mortem info.
Add
const char* _file;
int _line;
as data members, and change Enter and Leave to be something like
void Enter(const char* file, int line)
{
pthread_mutex_lock(&_mutex);
_file = file; _line = line;
}
You might also add print statements in those functions..
And as for looking bad to mgmt, just wait until they read the "four
space
hard-tab" comment. :)
/r$
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]