mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
Fix wake-up in sysdeps/nptl/fork.c.
This commit is contained in:
parent
5a9e4c09a2
commit
c60ec0e016
@ -1,3 +1,8 @@
|
||||
2015-01-13 Torvald Riegel <triegel@redhat.com>
|
||||
|
||||
* sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
|
||||
variable to lll_futex_wake call, not the value itself.
|
||||
|
||||
2015-01-12 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #17803]
|
||||
|
@ -219,7 +219,7 @@ __libc_fork (void)
|
||||
|
||||
if (atomic_decrement_and_test (&allp->handler->refcntr)
|
||||
&& allp->handler->need_signal)
|
||||
lll_futex_wake (allp->handler->refcntr, 1, LLL_PRIVATE);
|
||||
lll_futex_wake (&allp->handler->refcntr, 1, LLL_PRIVATE);
|
||||
|
||||
allp = allp->next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user