Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
jlib
Commits
c024947b
Commit
c024947b
authored
1 year ago
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
744f4c1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
simple_libevent_clients.h
jlib/net/simple_libevent_clients.h
+1
-1
id_queue.h
jlib/util/id_queue.h
+3
-0
No files found.
jlib/net/simple_libevent_clients.h
View file @
c024947b
...
...
@@ -100,7 +100,7 @@ protected:
OnWriteCompleteCallback
onWrite_
=
nullptr
;
NewClientCallback
newClient_
=
BaseClient
::
createDefaultClient
;
//!
߳
//!
number of worker threads
int
threadNum_
=
1
;
int
curThreadId_
=
-
1
;
std
::
mutex
mutex_
{};
...
...
This diff is collapsed.
Click to expand it.
jlib/util/id_queue.h
View file @
c024947b
...
...
@@ -6,6 +6,9 @@
#include <queue>
#include <mutex>
#ifdef max
#undef max
#endif
namespace
jlib
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment