Commit f0c87e17 authored by Karl Heyes's avatar Karl Heyes
Browse files

Call the signal handler at the beginning, so that any metadata is read at

the start of ices

svn path=/trunk/ices/; revision=4391
parent e2538c70
......@@ -2,7 +2,7 @@
* - Main producer control loop. Fetches data from input modules, and controls
* submission of these to the instance threads. Timing control happens here.
*
* $Id: input.c,v 1.21 2003/03/02 19:14:46 karl Exp $
* $Id: input.c,v 1.22 2003/03/02 21:16:27 karl Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
......@@ -284,6 +284,8 @@ void input_loop(void)
instance = instance->next;
}
/* treat as if a signal has arrived straight away */
signal_usr1_handler (0);
/* now we go into the main loop
* We shut down the main thread ONLY once all the instances
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment