* thread.h (List_remove): Revert most of 2005-05-30 change.

This commit is contained in:
Christopher Faylor 2005-06-01 14:55:45 +00:00
parent 8d05cca34b
commit 19adafdc21
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2005-06-01 Christopher Faylor <cgf@timesys.com>
* thread.h (List_remove): Revert most of 2005-05-30 change.
2005-06-01 Christopher Faylor <cgf@timesys.com>
* cygwin.sc: Don't output .reloc or .rsrc sections. Clean up stuff

View File

@ -143,9 +143,7 @@ List_remove (fast_mutex &mx, list_node *&head, list_node const *node)
mx.lock ();
if (head)
{
if (head == node)
head = head->next;
else
if (InterlockedCompareExchangePointer (&head, node->next, node) != node)
{
list_node *cur = head;