tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: radiusd: Error detected by libpthread: Invalid mutex.

Christos Zoulas <> wrote:

> It is implementation dependend; for portability pthread_mutex_init() should
> be done in the child process and not cross a fork. Eg:

An important point: it seems current Linux implementation is perfectly
fine with using mutexes that were not initialized, leading Linux
developper to often forget the pthread_mutex_init() call. This is a bug
I encountered a few times when porting glusterfs on NetBSD.

Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index