Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dhtnet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
dhtnet
Commits
14d54f2d
Commit
14d54f2d
authored
8 months ago
by
Amna Snene
Browse files
Options
Downloads
Patches
Plain Diff
tools: keep tools running even when there are no immediate operations to process.
Change-Id: I47cf15745f2d6f555cab2066d5c2916cf85b843a
parent
74bc0415
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tools/dnc/dnc.cpp
+1
-0
1 addition, 0 deletions
tools/dnc/dnc.cpp
tools/dsh/dsh.cpp
+1
-0
1 addition, 0 deletions
tools/dsh/dsh.cpp
tools/dvpn/dvpn.cpp
+1
-0
1 addition, 0 deletions
tools/dvpn/dvpn.cpp
with
3 additions
and
0 deletions
tools/dnc/dnc.cpp
+
1
−
0
View file @
14d54f2d
...
...
@@ -239,6 +239,7 @@ Dnc::Dnc(dht::crypto::Identity identity,
void
Dnc
::
run
()
{
auto
work
=
asio
::
make_work_guard
(
*
ioContext
);
ioContext
->
run
();
}
...
...
This diff is collapsed.
Click to expand it.
tools/dsh/dsh.cpp
+
1
−
0
View file @
14d54f2d
...
...
@@ -256,6 +256,7 @@ dhtnet::Dsh::Dsh(dht::crypto::Identity identity,
void
dhtnet
::
Dsh
::
run
()
{
auto
work
=
asio
::
make_work_guard
(
*
ioContext
);
ioContext
->
run
();
}
...
...
This diff is collapsed.
Click to expand it.
tools/dvpn/dvpn.cpp
+
1
−
0
View file @
14d54f2d
...
...
@@ -371,6 +371,7 @@ dhtnet::DvpnClient::DvpnClient(dht::InfoHash peer_id,
void
dhtnet
::
Dvpn
::
run
()
{
auto
work
=
asio
::
make_work_guard
(
*
ioContext
);
ioContext
->
run
();
}
...
...
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