Difference between revisions of "KSynchronizationObject"

From 3dbrew
Jump to navigation Jump to search
m
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Kernel objects]]
+
[[Category:Kernel synchronization objects]]
 
class [[KSynchronizationObject]] extends [[KAutoObject]];
 
class [[KSynchronizationObject]] extends [[KAutoObject]];
  
Line 11: Line 11:
 
|-
 
|-
 
| 0x0
 
| 0x0
| [[KAutoObject]]
+
| u32
| Base object
+
| Pointer to vtable
 +
|-
 +
| 0x4
 +
| u32
 +
| Reference count
 
|-
 
|-
 
| 0x8
 
| 0x8
| [[KLinkedList]]
+
| u32
| List of KThreads that sync with this object
+
| Count of KThreads that sync with this object - number of nodes in the linked list below
 +
|-
 +
| 0xC
 +
| KLinkedListNode*
 +
| Pointer to first KLinkedListNode in node list of KThreads that sync with this object
 +
|-
 +
| 0x10
 +
| KLinkedListNode*
 +
| Pointer to last KLinkedListNode in node list of KThreads that sync with this object
 
|}
 
|}

Latest revision as of 01:46, 5 December 2016

class KSynchronizationObject extends KAutoObject;

Size : 0x14 bytes

Offset Type Description
0x0 u32 Pointer to vtable
0x4 u32 Reference count
0x8 u32 Count of KThreads that sync with this object - number of nodes in the linked list below
0xC KLinkedListNode* Pointer to first KLinkedListNode in node list of KThreads that sync with this object
0x10 KLinkedListNode* Pointer to last KLinkedListNode in node list of KThreads that sync with this object