mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
fix(thread): correct layout of SSyncObject
This commit is contained in:
parent
0d00bd3ae4
commit
83cd9b05c0
6 changed files with 25 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue