diff options
Diffstat (limited to 'libhb/ports.c')
-rw-r--r-- | libhb/ports.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/ports.c b/libhb/ports.c index 10f84dc9e..3754a4529 100644 --- a/libhb/ports.c +++ b/libhb/ports.c @@ -412,7 +412,10 @@ hb_lock_t * hb_lock_init() pthread_mutexattr_t mta; pthread_mutexattr_init(&mta); + +#if defined( SYS_CYGWIN ) pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_NORMAL); +#endif pthread_mutex_init( &l->mutex, &mta ); //#elif defined( SYS_CYGWIN ) |