From 9012e89f2c17fddccac864f366af495ba7703f9b Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 15 Jan 2008 19:54:25 +0000 Subject: PR4037 and fixes to better synchronize staprun and stapio. --- runtime/staprun/mainloop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/staprun/mainloop.c') diff --git a/runtime/staprun/mainloop.c b/runtime/staprun/mainloop.c index d8975d18..2e0c3c5c 100644 --- a/runtime/staprun/mainloop.c +++ b/runtime/staprun/mainloop.c @@ -7,7 +7,7 @@ * Public License (GPL); either version 2, or (at your option) any * later version. * - * Copyright (C) 2005-2007 Red Hat Inc. + * Copyright (C) 2005-2008 Red Hat Inc. */ #include "staprun.h" @@ -255,6 +255,7 @@ int stp_main_loop(void) setup_main_signals(0); dbug(2, "in main loop\n"); + send_request(STP_READY, NULL, 0); while (1) { /* handle messages from control channel */ nb = read(control_channel, recvbuf, sizeof(recvbuf)); -- cgit