equal
deleted
inserted
replaced
56 } |
56 } |
57 return false; |
57 return false; |
58 } |
58 } |
59 |
59 |
60 void AbstractCompiler::set_state(int state) { |
60 void AbstractCompiler::set_state(int state) { |
61 // Ensure that ste is only set by one thread at a time |
61 // Ensure that state is only set by one thread at a time |
62 MutexLocker only_one(CompileThread_lock); |
62 MutexLocker only_one(CompileThread_lock); |
63 _compiler_state = state; |
63 _compiler_state = state; |
64 CompileThread_lock->notify_all(); |
64 CompileThread_lock->notify_all(); |
65 } |
65 } |