mirror of
https://github.com/openharmony/utils_native.git
synced 2026-07-19 22:23:53 -04:00
Delete definition of INVALID_SEMA_VALUE in thread_pool.h
If someone include ssemaphore_ex.h and thread_pool.h at the same time, there will be a problem of redefinition. Signed-off-by: liujialiang <liujialiang10@huawei.com> Change-Id: I2a392cbe61b3500d65d47bc1d6c5800be86bf0b0
This commit is contained in:
@@ -27,8 +27,6 @@
|
||||
|
||||
namespace OHOS {
|
||||
|
||||
const int INVALID_SEMA_VALUE = -1;
|
||||
|
||||
class ThreadPool : public NoCopyable {
|
||||
public:
|
||||
typedef std::function<void()> Task;
|
||||
|
||||
Reference in New Issue
Block a user