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:
Augustin Cavalier 2023-10-09 21:08:31 -04:00
parent 788b1b12b6
commit 5c32c5ef2f

View File

@ -86,14 +86,14 @@ private:
protected:
typedef DoublyLinkedList<ConditionVariableEntry> EntryList;
ConditionVariable* fNext;
const void* fObject;
const char* fObjectType;
spinlock fLock;
EntryList fEntries;
int32 fEntriesCount;
ConditionVariable* fNext;
EntryList fEntries;
friend struct ConditionVariableEntry;
friend struct ConditionVariableHashDefinition;