Commit c024947b authored by captainwong's avatar captainwong

update

parent 744f4c1c
...@@ -100,7 +100,7 @@ protected: ...@@ -100,7 +100,7 @@ protected:
OnWriteCompleteCallback onWrite_ = nullptr; OnWriteCompleteCallback onWrite_ = nullptr;
NewClientCallback newClient_ = BaseClient::createDefaultClient; NewClientCallback newClient_ = BaseClient::createDefaultClient;
//! ߳ //! number of worker threads
int threadNum_ = 1; int threadNum_ = 1;
int curThreadId_ = -1; int curThreadId_ = -1;
std::mutex mutex_{}; std::mutex mutex_{};
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
#include <queue> #include <queue>
#include <mutex> #include <mutex>
#ifdef max
#undef max
#endif
namespace jlib { namespace jlib {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment