search for: session_still_used

Displaying 1 result from an estimated 1 matches for "session_still_used".

2001 Oct 25
2
SIGCHLD race *trivial* patch
...second timeout to select() IF AND ONLY IF (!channel_still_open) AND, server_loop2() breaks out of its loop when there are no sessions left. Blocking SIGCHLD before select()ing would not fix the problem, nor would that be very portable. So, summary of changes: - session.h Added prototype for session_still_used() boolean function. - session.c Added session_still_used() boolean function. - serverloop.c Added this bit of code to wait_until_can_do_something(): if (!channel_still_open()) max_time_milliseconds = 1000; before select()ing. Added this bit of code to server...