function call when event loop is idle?
Subject: function call when event loop is idle?
From: Paul Law <firstname.lastname@example.org>
Date: Wed, 01 May 1996 11:48:10 +0000
From email@example.com Wed May 1 14: 46:31 1996
X-Mailer: Mozilla 2.01Gold (WinNT; I)
Does anyone know of a simple way to destinate a function (implemented
by the client application) to be called when the event loop is idle?
For example, the client might want to do some housekeeping tasks
and/or fetch some documents from the net (not initiated by the user
or the result of previous fetches) when the event loop has no
outstanding user event or active socket.
In case it does matter, I work on Windows NT platform.
Thanks in advance for any information.