fix(thread): correct layout of SSyncObject

This commit is contained in:
fallenoak 2021-08-09 00:13:52 -05:00
parent 0d00bd3ae4
commit 83cd9b05c0
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
6 changed files with 25 additions and 24 deletions

View file

@ -19,10 +19,11 @@ class SSyncObject {
#endif
#if defined(WHOA_SYSTEM_MAC) || defined(WHOA_SYSTEM_LINUX)
int32_t m_int0 = 6;
int32_t m_value;
pthread_cond_t m_cond;
int32_t int0 = 6;
int32_t m_value1;
int32_t m_value2;
pthread_mutex_t m_mutex;
pthread_cond_t m_cond;
#endif
// Member functions