SSemaphore basic implementation

Set for RSX
This commit is contained in:
Nekotekina 2014-06-20 23:56:19 +04:00
parent 7fca980887
commit 1c4ae999d6
8 changed files with 127 additions and 18 deletions

View file

@ -1891,9 +1891,9 @@ void RSXThread::Task()
if(put == get)
{
if(m_flip_status == 0)
SemaphorePostAndWait(m_sem_flip);
m_sem_flip.post_and_wait();
SemaphorePostAndWait(m_sem_flush);
m_sem_flush.post_and_wait();
}
Sleep(1);