Commit 443a09fb authored by simonmar's avatar simonmar
Browse files

[project @ 2005-01-12 12:51:57 by simonmar]

Yet another STM fix: don't attempt to kick any threads which are ThreadRelocated.
parent 4bf4b390
......@@ -1334,7 +1334,7 @@ run_thread:
* When next scheduled they will try to commit, this commit will fail and
* they will retry. */
for (t = all_threads; t != END_TSO_QUEUE; t = t -> link) {
if (t -> trec != NO_TREC && t -> why_blocked == NotBlocked) {
if (t -> what_next != ThreadRelocated && t -> trec != NO_TREC && t -> why_blocked == NotBlocked) {
if (!stmValidateTransaction (t -> trec)) {
IF_DEBUG(stm, sched_belch("trec %p found wasting its time", t));
......
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