projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Find a faster way to get currently executing thread's id
[c11tester.git]
/
schedule.cc
diff --git
a/schedule.cc
b/schedule.cc
index 9bd87077af6801811ce0cc05fa9e39df8f70cabc..30af582dcc237991b690f606eb0c1e5ca11afa1b 100644
(file)
--- a/
schedule.cc
+++ b/
schedule.cc
@@
-234,7
+234,7
@@
Thread * Scheduler::select_next_thread()
thread = execution->getFuzzer()->selectThread(thread_list, avail_threads);
}
- curr_thread_index = id_to_int(thread->get_id());
+
//
curr_thread_index = id_to_int(thread->get_id());
return thread;
}