-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from muebau/master
Workaround for segmentation faults
- Loading branch information
Showing
2 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
zerotier/patches/0003-workaround_to_avoid_seg_faults.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 21f4958bd48cae59b478b1b3445e00fa4fb18991 Mon Sep 17 00:00:00 2001 | ||
From: muebau <[email protected]> | ||
Date: Fri, 5 Aug 2016 19:22:45 +0200 | ||
Subject: [PATCH] OpenWRT workaround to avoid seg faults | ||
|
||
--- | ||
service/OneService.cpp | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/service/OneService.cpp b/service/OneService.cpp | ||
index 13820f5..9ba3238 100644 | ||
--- a/service/OneService.cpp | ||
+++ b/service/OneService.cpp | ||
@@ -862,8 +862,8 @@ public: | ||
} | ||
|
||
// Start two background threads to handle expensive ops out of line | ||
- Thread::start(_node); | ||
- Thread::start(_node); | ||
+ //Thread::start(_node); | ||
+ //Thread::start(_node); | ||
|
||
_nextBackgroundTaskDeadline = 0; | ||
uint64_t clockShouldBe = OSUtils::now(); | ||
-- | ||
2.7.4 | ||
|