Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
pistache
Commits
016d2810
Unverified
Commit
016d2810
authored
Jul 06, 2019
by
Mohsen
Committed by
GitHub
Jul 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update reactor.h
using std::string type, and fix code style
parent
7eb3e116
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
include/pistache/reactor.h
include/pistache/reactor.h
+5
-3
No files found.
include/pistache/reactor.h
View file @
016d2810
...
...
@@ -176,10 +176,12 @@ public:
class
AsyncContext
:
public
ExecutionContext
{
public:
explicit
AsyncContext
(
size_t
threads
,
const
char
*
threadsName
=
""
)
explicit
AsyncContext
(
size_t
threads
,
std
::
string
threadsName
=
""
)
:
threads_
(
threads
)
{
strcpy
(
threadsName_
,
threadsName
);}
{
threadsName_
=
threadsName
;
}
virtual
~
AsyncContext
()
{}
...
...
@@ -189,7 +191,7 @@ public:
private:
size_t
threads_
;
char
threadsName_
[
16
]
;
std
::
string
threadsName_
;
};
class
Handler
:
public
Prototype
<
Handler
>
{
...
...
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