condition_variable: Reorder members for optimal sizing.
Class size now 48 instead of 56 bytes (on x86_64.) No functional change.
This commit is contained in:
@@ -86,14 +86,14 @@ private:
|
|||||||
protected:
|
protected:
|
||||||
typedef DoublyLinkedList<ConditionVariableEntry> EntryList;
|
typedef DoublyLinkedList<ConditionVariableEntry> EntryList;
|
||||||
|
|
||||||
|
ConditionVariable* fNext;
|
||||||
|
|
||||||
const void* fObject;
|
const void* fObject;
|
||||||
const char* fObjectType;
|
const char* fObjectType;
|
||||||
|
|
||||||
spinlock fLock;
|
spinlock fLock;
|
||||||
EntryList fEntries;
|
|
||||||
int32 fEntriesCount;
|
int32 fEntriesCount;
|
||||||
|
EntryList fEntries;
|
||||||
ConditionVariable* fNext;
|
|
||||||
|
|
||||||
friend struct ConditionVariableEntry;
|
friend struct ConditionVariableEntry;
|
||||||
friend struct ConditionVariableHashDefinition;
|
friend struct ConditionVariableHashDefinition;
|
||||||
|
|||||||
Reference in New Issue
Block a user