From bcd29a3312252820724040989f017a6635fb4f40 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 17 Aug 2021 21:29:44 +1000 Subject: Bitch if the sim has not stopped yet. --- src/sledjchisl/sledjchisl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 2428bab..5c69252 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -2001,7 +2001,10 @@ byTab has the short name as the key, simData as the value. void stopSims(simData *simd, char *sim, char *type, int count, int window, int panes, int pane) { +// TODO - should move onto others if this one takes too long, and come back later. // NOTE - these sleeps are guesses, seems to work on my super desktop during testing. + if (checkSimIsRunning(simd->tab)) + T("Tmux tab [%d:%s](pane %d) tmux ID %s, from %s/sim%d - %s has NOT stopped YET.", window, type, pane, simd->paneID, scTemp, count, simd->name); while (checkSimIsRunning(simd->tab)) usleep(100000); usleep(10000); -- cgit v1.1