projects
/
satcheck.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix spacing with make tabbing
[satcheck.git]
/
threads.cc
diff --git
a/threads.cc
b/threads.cc
index b7927c465d1156eddfa0103363e3b37f785d64b2..52b7ca9db9f8c3d7eae6bcea16a86266d27b9ac8 100644
(file)
--- a/
threads.cc
+++ b/
threads.cc
@@
-109,7
+109,7
@@
Thread::Thread(thread_id_t tid) :
user_thread(NULL),
waiting(NULL),
id(tid),
user_thread(NULL),
waiting(NULL),
id(tid),
- state(THREAD_READY), /* Thread is always ready? */
+ state(THREAD_READY),
/* Thread is always ready? */
model_thread(true)
{
memset(&context, 0, sizeof(context));
model_thread(true)
{
memset(&context, 0, sizeof(context));
@@
-189,7
+189,7
@@
void Thread::set_waiting(Thread *th) {
*/
bool Thread::is_waiting_on(const Thread *t) {
Thread *wait;
*/
bool Thread::is_waiting_on(const Thread *t) {
Thread *wait;
- for (wait = waiting_on();
wait != NULL;
wait = wait->waiting_on())
+ for (wait = waiting_on();
wait != NULL;
wait = wait->waiting_on())
if (wait == t)
return true;
return false;
if (wait == t)
return true;
return false;