sys_cond/sys_mutex improved

This commit is contained in:
Nekotekina 2015-07-19 04:56:33 +03:00
parent 43d3ccce95
commit 8175630619
12 changed files with 163 additions and 93 deletions

View file

@ -249,7 +249,7 @@ bool CPUThread::Signal()
}
}
bool CPUThread::Signaled()
bool CPUThread::Unsignal()
{
// remove SIGNAL and return its old value
return (m_state._and_not(CPU_STATE_SIGNAL) & CPU_STATE_SIGNAL) != 0;