Re: [Linuxptp-devel] [PATCH 3/5] Move signal handling to util.c.

2014-07-10 Thread Keller, Jacob E
On Thu, 2014-07-10 at 11:35 +0200, Miroslav Lichvar wrote: On Wed, Jul 09, 2014 at 06:55:23PM +, Keller, Jacob E wrote: On Wed, 2014-07-09 at 10:21 +0200, Miroslav Lichvar wrote: I'm not sure I understand your question. Would you prefer to export the running variable and use it in

Re: [Linuxptp-devel] [PATCH 3/5] Move signal handling to util.c.

2014-07-09 Thread Miroslav Lichvar
On Tue, Jul 08, 2014 at 05:18:29PM +, Keller, Jacob E wrote: On Tue, 2014-07-08 at 16:14 +0200, Miroslav Lichvar wrote: @@ -404,7 +385,7 @@ int main(int argc, char *argv[]) return -1; } - while (running) { + while (is_running()) { Is there a reason we no