0003-workaround_to_avoid_seg_faults.patch 744 B

123456789101112131415161718192021222324252627
  1. From 21f4958bd48cae59b478b1b3445e00fa4fb18991 Mon Sep 17 00:00:00 2001
  2. From: muebau <muebau@gmail.com>
  3. Date: Fri, 5 Aug 2016 19:22:45 +0200
  4. Subject: [PATCH] OpenWRT workaround to avoid seg faults
  5. ---
  6. service/OneService.cpp | 4 ++--
  7. 1 file changed, 2 insertions(+), 2 deletions(-)
  8. diff --git a/service/OneService.cpp b/service/OneService.cpp
  9. index 13820f5..9ba3238 100644
  10. --- a/service/OneService.cpp
  11. +++ b/service/OneService.cpp
  12. @@ -862,8 +862,8 @@ public:
  13. }
  14. // Start two background threads to handle expensive ops out of line
  15. - Thread::start(_node);
  16. - Thread::start(_node);
  17. + //Thread::start(_node);
  18. + //Thread::start(_node);
  19. _nextBackgroundTaskDeadline = 0;
  20. uint64_t clockShouldBe = OSUtils::now();
  21. --
  22. 2.7.4