This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/19192] __old_sem_wait never terminates


https://sourceware.org/bugzilla/show_bug.cgi?id=19192

--- Comment #3 from Juro Bystricky <jurobystricky at hotmail dot com> ---

We have two sets of routines:
old_sem_init/old_sem_wait
new_sem_init/new_sem_wait

If we use matched pairs, there are no problems.

But there is only one routine sem_open. This one uses the semaphore 
structure new_sem. So if we create a semaphore using sem_open, we must 
use new_sem_wait. That is not guaranteed and as a matter of fact this is
the cause of the problem I have.
So I think there should be two routines: new_sem_open and old_sem_open as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]