Re: [PATCH]: gl_recursive_lock_init issue with pthread backend

2007-11-30 Thread Bruno Haible
Yoann Vandoorselaere wrote: > The gl_recursive_lock_init() macro used for the pthread backend never > set the mutex attribute to be recursive. The end result is that a > 'standard' mutex is created, which will deadlock on recursive use. A > patch is attached that fixes this issue. Indeed. Thanks f

[PATCH]: gl_recursive_lock_init issue with pthread backend

2007-11-30 Thread Yoann Vandoorselaere
Hi, The gl_recursive_lock_init() macro used for the pthread backend never set the mutex attribute to be recursive. The end result is that a 'standard' mutex is created, which will deadlock on recursive use. A patch is attached that fixes this issue. Additionally, lock.h make use of the abort() fu