projects
/
cdsspec-compiler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
repush changes
[cdsspec-compiler.git]
/
schedule.cc
diff --git
a/schedule.cc
b/schedule.cc
index 8dd13304093008094c00d465ffb4086eec1e810d..1bd1b0f983fef2a602fe6b089db723c4526adc4a 100644
(file)
--- a/
schedule.cc
+++ b/
schedule.cc
@@
-207,6
+207,10
@@
Thread * Scheduler::select_next_thread()
return NULL;
}
+void Scheduler::set_scheduler_thread(thread_id_t tid) {
+ curr_thread_index=id_to_int(tid);
+}
+
/**
* @brief Set the current "running" Thread
* @param t Thread to run