Commit 06a2a006 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(toploop): Call intr_syscalls_on_intr() before calling

	isc_getnextevent, and restart_syscalls_on_intr() immediately
	after its return.
parent 7ec920b0
/*
* $Id: connections.c,v 0.81 2002/10/25 08:34:38 ceder Exp $
* $Id: connections.c,v 0.82 2002/10/26 11:59:12 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -796,8 +796,10 @@ toploop(void)
kom_log("Signal WINCH received. aux definitions reloaded.\n");
}
intr_syscalls_on_intr();
event = isc_getnextevent(kom_server_mcb,
pending_input ? 0 : timeout );
restart_syscalls_on_intr();
last_time = current_time;
current_time = time(NULL);
......
Markdown is supported
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