Anamoly with ioctl() in cygwin 1.7.10

Lee Collier klcollierjr@gmail.com
Thu Mar 8 01:40:00 GMT 2012


Jon Clugston <jon.clugston <at> gmail.com> writes:
> 
> Don't know if it will fix your problem, but you cannot just create a
> mutex on the stack and call "lock" on it.  You must initialize it with
> "pthread_mutex_init()".
> 
> Jon
> 
> 
Good catch. I missed that in my haste to scrounge a sample pgm together. With or 
w/out initializing the mutex the anomaly still occurs.

LC




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list