mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
Sync with cocos2d-x v3 branch ddb4dc8 commit.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
Copyright (c) 2016 Chukong Technologies Inc.
|
||||
Copyright (c) 2016-2017 Chukong Technologies Inc.
|
||||
|
||||
http://www.cocos2d-x.org
|
||||
|
||||
@@ -102,7 +102,7 @@ ThreadPool *ThreadPool::newSingleThreadPool()
|
||||
}
|
||||
|
||||
ThreadPool::ThreadPool(int minNum, int maxNum)
|
||||
: _isStop(false), _isDone(false), _idleThreadNum(0), _minThreadNum(minNum),
|
||||
: _isDone(false), _isStop(false), _idleThreadNum(0), _minThreadNum(minNum),
|
||||
_maxThreadNum(maxNum), _initedThreadNum(0), _shrinkInterval(DEFAULT_SHRINK_INTERVAL),
|
||||
_shrinkStep(DEFAULT_SHRINK_STEP), _stretchStep(DEFAULT_STRETCH_STEP),
|
||||
_isFixedSize(false)
|
||||
|
||||
Reference in New Issue
Block a user