mainloop() { if (fork()) { traditional_accept_fork_loop(); kill_corba_server_and_exit(); } else { corba_main_in_POA(); } } corba_connection_handle() { setup_IPC(); if (!fork()) { for (;;) { wait_on_IPC(); runquery(); } } } corba_request_handler() { send_requset_on_IPC(); wait_for_response(); response_to_POA(); }