From 6533f15c87091680cc2a049f28637dc749f6f181 Mon Sep 17 00:00:00 2001 From: goodale Date: Sun, 17 Sep 2000 08:39:44 +0000 Subject: Removed 'standalone' parameter as it was redundant - can now start the simulation paused. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@33 1faa4e14-9dd3-4be0-9f0e-ffe519881164 --- src/Startup.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/Startup.c') diff --git a/src/Startup.c b/src/Startup.c index 8fe2264..8772d86 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -56,11 +56,11 @@ int HTTP_Startup(void) HTTP_UpdateState(NULL, &state); - while(state.standalone) + do { if(CCTK_MyProc(NULL) == 0) { - HTTP_Poll(NULL, -1,-1); + HTTP_Poll(NULL, -1, -1); } if(state.steer == 1) @@ -73,9 +73,10 @@ int HTTP_Startup(void) if(state.terminate) { HTTP_Terminate(NULL); - } - } - + } + + } while(state.paused); + return 0; } -- cgit v1.2.3