Skip to content

Commit

Permalink
Fix wake-up in sysdeps/nptl/fork.c.
Browse files Browse the repository at this point in the history
  • Loading branch information
Torvald Riegel committed Jan 13, 2015
1 parent 5a9e4c0 commit c60ec0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/nptl/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c60ec0e

Please sign in to comment.