Makes Yoga threadsafed: #791

Closed
nokia6686 wants to merge 2 commits from yoga_thread_safety_master into main

2 Commits

Author SHA1 Message Date
Hieu Rocker
977b74af08 Merge branch 'master' into yoga_thread_safety_master 2018-07-24 09:44:50 +07:00
Trung Bui Thanh
3fa3c12213 Makes Yoga threadsafed:
- Uses <atomic> for gNodeInstanceCount & gConfigInstanceCount because of counting instance only.
- Store gCurrentGenerationCount & gDepth in root node for multithreading.
2018-07-06 10:37:00 +07:00