자잘한 버그픽스 + openssl 디펜던시 추가
This commit is contained in:
@@ -69,7 +69,7 @@ public:
|
||||
#ifdef _WIN32
|
||||
WaitForSingleObject(handle_, INFINITE);
|
||||
#elif __linux__
|
||||
pthread_join(handle_, returnValue);
|
||||
pthread_join(handle_, &returnValuePtr);
|
||||
#endif
|
||||
}
|
||||
template<typename _RetType>
|
||||
@@ -78,7 +78,7 @@ public:
|
||||
#ifdef _WIN32
|
||||
WaitForSingleObject(handle_, INFINITE);
|
||||
#elif __linux__
|
||||
pthread_join(handle_, returnValue);
|
||||
pthread_join(handle_, &returnValuePtr);
|
||||
#endif
|
||||
return *static_cast<_RetType *>(returnValuePtr);
|
||||
}
|
||||
|
||||
@@ -45,6 +45,8 @@ public:
|
||||
auto task = std::packaged_task<void()>(std::move(boundFunc));
|
||||
jobs_.push(std::move(task));
|
||||
jobQueueCV_.notify_one();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user