[Asterisk-Dev] lock.h change on 10-28 (rev 1.39) means you cannever use pthread_mutex_t?

Kevin P. Fleming kpfleming at digium.com
Wed Nov 2 15:47:24 MST 2005


Jerris, Michael MI wrote:

> I had the same issue on cygwin as pthread.h uses pthread_mutex_t in it's
> definition for PTHREAD_MUTEX_INITIALIZER, which is passed down in other
> defines.  I am not sure what the proper solution is to this issue.  

Why is pthread.h being included after asterisk/lock.h? It should protect 
itself from being multiply included.



More information about the asterisk-dev mailing list