Skip to content

Commit

Permalink
* allocatestack.c (setxid_signal_thread): Need to use
Browse files Browse the repository at this point in the history
	atomic_compare_and_exchange_bool_acq.
  • Loading branch information
Ulrich Drepper committed Oct 2, 2005
1 parent dff9a7a commit b71ce91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2005-10-02 Jakub Jelinek <jakub@redhat.com>

* allocatestack.c (setxid_signal_thread): Need to use
atomic_compare_and_exchange_bool_acq.

2005-10-01 Ulrich Drepper <drepper@redhat.com>
Jakub Jelinek <jakub@redhat.com>

Expand Down
4 changes: 2 additions & 2 deletions nptl/allocatestack.c
Original file line number Diff line number Diff line change
Expand Up @@ -834,8 +834,8 @@ setxid_signal_thread (struct xid_command *cmdp, struct pthread *t)
if ((ch & EXITING_BITMASK) != 0)
return;
}
while (atomic_compare_and_exchange_val_acq (&t->cancelhandling,
ch | SETXID_BITMASK, ch));
while (atomic_compare_and_exchange_bool_acq (&t->cancelhandling,
ch | SETXID_BITMASK, ch));
}

int val;
Expand Down

0 comments on commit b71ce91

Please sign in to comment.