Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
a67195c0
Commit
a67195c0
authored
Feb 21, 2018
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(omniThread): fix compile error for 'const' function and other minor fixes
parent
583757f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
OmniThreadCreator.h
include/OmniThreadCreator.h
+4
-4
No files found.
include/OmniThreadCreator.h
View file @
a67195c0
...
@@ -99,17 +99,17 @@ namespace uniset
...
@@ -99,17 +99,17 @@ namespace uniset
OmniThreadCreator
(
const
std
::
shared_ptr
<
ThreadMaster
>&
m
,
Action
a
,
bool
undetached
=
false
);
OmniThreadCreator
(
const
std
::
shared_ptr
<
ThreadMaster
>&
m
,
Action
a
,
bool
undetached
=
false
);
~
OmniThreadCreator
()
{}
~
OmniThreadCreator
()
{}
inline
bool
isRunning
()
const
inline
bool
isRunning
()
{
{
return
state
()
==
omni_thread
::
STATE_RUNNING
;
return
omni_thread
::
state
()
==
omni_thread
::
STATE_RUNNING
;
}
}
inline
void
stop
()
inline
void
stop
()
{
{
exit
(
0
);
omni_thread
::
exit
(
0
);
}
}
inline
int
getTID
()
inline
int
getTID
()
{
{
return
id
();
return
omni_thread
::
id
();
}
}
inline
void
join
()
inline
void
join
()
...
...
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