KSemaphore

KSemaphore

class KSemaphore extends KSynchronizationObject and KUserBindableInterruptEvent;

Size : 0x2C bytes

OffsetTypeDescription
0x0u32Pointer to vtable
0x4u32Reference count
0x8u32Count of KThreads that sync with this object - number of nodes in the linked list below
0xCKLinkedListNode*Pointer to first KLinkedListNode in list of KThreads that sync with this semaphore
0x10KLinkedListNode*Pointer to last KLinkedListNode in list of KThreads that sync with this semaphore
0x14KUserBindableInterruptEventInterrupt event (*this)
0x20u32Count
0x24u32Max count
0x28KProcess*Owner

Category:Kernel synchronization objects Category:Kernel interrupt events