* thread.h (List_remove): Revert most of 2005-05-30 change.
This commit is contained in:
parent
8d05cca34b
commit
19adafdc21
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue