D 2011-09-24T19:26:51.445 L Running\sthe\sMain\sLoop P 6648c15186377adc13d39d941aad12da8e8fa900 U murphy W 817

Running the Main Loop

(current-main-loop-level) => INTEGER Determines the nesting level of currently running main loops. (main-loop [YIELD-INTERVAL] [TIMEOUT]) => BOOLEAN Enters the Gtk+ main loop. Other CHICKEN threads are allowed to run at least every YIELD-INTERVAL seconds (default 0.5). The main loop is terminated automatically if no more top level windows are open. The TIMEOUT can be #f (the default), a number of seconds or a SRFI-18 time object. When the timeout is reached, the main loop terminates and returns #f. Otherwise the procedure always returns #t. (main-loop-quit!) => VOID Causes the innermost running Gtk+ event loop to terminate. Z de44c8d77052fced6fab303ae44b4b01