Commit e8a78f0f authored by simonpj's avatar simonpj
Browse files

[project @ 2005-10-26 14:53:30 by simonpj]

awaitRequests: blocked_queue_tl was being set to NULL rather than
END_TSO_QUEUE if the thread being removed was at the end of the queue.

This bug has been in the code since 2003 - I have absolutely no idea
why it hasn't manifested until today.
parent 4305e52b
......@@ -280,7 +280,7 @@ start:
blocked_queue_hd = tso->link;
if (blocked_queue_tl == tso) {
blocked_queue_tl = prev;
blocked_queue_tl = prev ? prev : END_TSO_QUEUE;
/* Terminates the run queue + this inner for-loop. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment