From a3a8a9f5debbc6bcdf9574d190155de47ca9e9d7 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Mon, 1 May 2017 14:04:21 +0200 Subject: [PATCH] add signal handler to terminate thread --- tools/uhyve.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/uhyve.c b/tools/uhyve.c index e7f172efe..556f020a1 100644 --- a/tools/uhyve.c +++ b/tools/uhyve.c @@ -227,7 +227,7 @@ static void uhyve_exit(void* arg) // only the main thread will execute this if (vcpu_threads) { - for(uint32_t i = 0; i < ncores; i++) { + for(uint32_t i=0; i