https://bugs.kde.org/show_bug.cgi?id=360557

Philippe Waroquiers <philippe.waroqui...@skynet.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philippe.waroquiers@skynet.
                   |                            |be

--- Comment #1 from Philippe Waroquiers <philippe.waroqui...@skynet.be> ---
(In reply to Ari Sundholm from comment #0)

> The reason why I am so puzzled by this is that both on line 36 and line 61
> the mutex for the element is held.

Are you sure the lock is always held on line 36 (that does  b.var2++;) ?
pthread_cond_wait will release the lock.
So, on the next loop, b.B_lock  is not held anymore.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to