mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
@@ -60,7 +60,7 @@ void ThreadPool::stop() {
|
||||
}
|
||||
|
||||
void ThreadPool::addThread() {
|
||||
assert(_workers.size() < MAX_THREAD_COUNT);
|
||||
CC_ASSERT(_workers.size() < MAX_THREAD_COUNT);
|
||||
|
||||
auto workerLoop = [this]() {
|
||||
while (_running) {
|
||||
|
||||
Reference in New Issue
Block a user