Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
advLigoRTS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CDS
software
advLigoRTS
Commits
c9f77c3f
Commit
c9f77c3f
authored
2 years ago
by
Ezekiel Dohmen
Browse files
Options
Downloads
Patches
Plain Diff
Removing cout and adding compile flag to fix warning
parent
0f0b7a0f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!439
RCG 5.0 release fro deb 10
,
!415
Cdsrfm to use new dolphin interface
,
!411
Userspace dolphin daemon, netlink dolphin setup for real time models
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/dolphin_daemon/CMakeLists.txt
+2
-0
2 additions, 0 deletions
src/dolphin_daemon/CMakeLists.txt
src/dolphin_daemon/src/main.cpp
+2
-14
2 additions, 14 deletions
src/dolphin_daemon/src/main.cpp
with
4 additions
and
14 deletions
src/dolphin_daemon/CMakeLists.txt
+
2
−
0
View file @
c9f77c3f
...
@@ -2,6 +2,8 @@ project (dolphin_daemon)
...
@@ -2,6 +2,8 @@ project (dolphin_daemon)
add_executable
(
${
PROJECT_NAME
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/main.cpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/DolphinKernelProxy.cpp
)
add_executable
(
${
PROJECT_NAME
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/main.cpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/DolphinKernelProxy.cpp
)
target_compile_options
(
${
PROJECT_NAME
}
PRIVATE -std=gnu++17
)
target_include_directories
(
${
PROJECT_NAME
}
target_include_directories
(
${
PROJECT_NAME
}
PRIVATE
PRIVATE
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/
...
...
This diff is collapsed.
Click to expand it.
src/dolphin_daemon/src/main.cpp
+
2
−
14
View file @
c9f77c3f
...
@@ -15,22 +15,10 @@ using namespace std;
...
@@ -15,22 +15,10 @@ using namespace std;
static
volatile
int
g_stop
=
0
;
static
volatile
int
g_stop
=
0
;
void
signal_handler
(
int
dummy
)
void
signal_handler
(
int
dummy
)
{
{
s
td
::
cout
<<
"Got exit signal, exiting...
\n
"
;
s
pdlog
::
warn
(
"Got exit signal, exiting..."
)
;
g_stop
=
1
;
g_stop
=
1
;
}
}
class
TestThread
:
public
LIGO_Thread
{
public:
void
thread_body
()
{
while
(
!
should_stop
())
{
std
::
this_thread
::
sleep_for
(
std
::
chrono
::
seconds
(
1
));
std
::
cout
<<
"Running"
<<
std
::
endl
;
}
}
};
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
...
@@ -44,7 +32,7 @@ int main(int argc, char * argv[])
...
@@ -44,7 +32,7 @@ int main(int argc, char * argv[])
tt
->
nonblocking_start
();
tt
->
nonblocking_start
();
s
td
::
cout
<<
"Started thread..."
<<
std
::
endl
;
s
pdlog
::
info
(
"Started DolphinKernelProxy thread... Waiting for mcast netlink requests."
)
;
while
(
!
g_stop
)
while
(
!
g_stop
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment