Allow LP to reset block detect and block detect lp flags to know who really came first.
diff --git a/main.c b/main.c
index 3395c21..9e025c1 100644
--- a/main.c
+++ b/main.c
@@ -2073,8 +2073,6 @@ static void restart_threads(void)
{
int i, stale;
- block_changed = BLOCK_NONE;
-
/* Discard staged work that is now stale */
stale = discard_stale();
@@ -4115,11 +4113,6 @@ static void *watchdog_thread(void *userdata)
mutex_unlock(&curses_lock);
}
- if (unlikely(work_restart[watchdog_thr_id].restart)) {
- restart_threads();
- work_restart[watchdog_thr_id].restart = 0;
- }
-
gettimeofday(&now, NULL);
for (i = 0; i < total_pools; i++) {