Skip to content
Snippets Groups Projects
  • Subv's avatar
    Kernel: Use different thread statuses when a thread calls WaitSynchronization1... · cef5f45d
    Subv authored
    Kernel: Use different thread statuses when a thread calls WaitSynchronization1 and  WaitSynchronizationN with wait_all = true.
    
    This commit removes the overly general THREADSTATUS_WAIT_SYNCH and replaces it with two more granular statuses:
    
    THREADSTATUS_WAIT_SYNCH_ANY when a thread waits on objects via WaitSynchronization1 or WaitSynchronizationN with wait_all = false.
    
    THREADSTATUS_WAIT_SYNCH_ALL when a thread waits on objects via WaitSynchronizationN with wait_all = true.
    cef5f45d