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:
liujialiang
2022-06-17 16:46:04 +08:00
parent 183dc351ba
commit 5d65c00cd0
-2
View File
@@ -27,8 +27,6 @@
namespace OHOS {
const int INVALID_SEMA_VALUE = -1;
class ThreadPool : public NoCopyable {
public:
typedef std::function<void()> Task;