mirror of
https://github.com/zoriya/nitro.git
synced 2026-10-13 00:05:23 +00:00
chore: Add deprecation notice to JSIConverter<std::future> (#351)
* chore: Add deprecation notice to `JSIConverter<std::future>` * Update JSIConverter+Future.hpp * chore: Fix order of initialization
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
namespace margelo::nitro {
|
||||
|
||||
ThreadPool::ThreadPool(const char* name, size_t initialThreadsCount, size_t maxThreadsCount)
|
||||
: _isAlive(true), _name(name), _threadCountLimit(maxThreadsCount) {
|
||||
: _isAlive(true), _threadCountLimit(maxThreadsCount), _name(name) {
|
||||
Logger::log(LogLevel::Info, TAG, "Creating ThreadPool \"%s\" with %i initial threads (max: %i)...", name, initialThreadsCount,
|
||||
maxThreadsCount);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user