&& (CtdlGetConfigLong("c_sleeping") > 0)
&& (now - (ccptr->lastcmd) > CtdlGetConfigLong("c_sleeping"))
) {
&& (CtdlGetConfigLong("c_sleeping") > 0)
&& (now - (ccptr->lastcmd) > CtdlGetConfigLong("c_sleeping"))
) {
}
}
end_critical_section(S_SESSION_TABLE);
if (killed > 0) {
syslog(LOG_INFO, "context: scheduled %d idle sessions for termination", killed);
}
}
}
end_critical_section(S_SESSION_TABLE);
if (killed > 0) {
syslog(LOG_INFO, "context: scheduled %d idle sessions for termination", killed);
}
begin_critical_section(S_SESSION_TABLE);
for (ccptr = ContextList; ccptr != NULL; ccptr = ccptr->next) {
begin_critical_section(S_SESSION_TABLE);
for (ccptr = ContextList; ccptr != NULL; ccptr = ccptr->next) {
syslog(LOG_INFO, "context: terminate_all_sessions() is murdering %s CC[%d]", ccptr->curr_user, ccptr->cs_pid);
close(ccptr->client_socket);
ccptr->client_socket = -1;
syslog(LOG_INFO, "context: terminate_all_sessions() is murdering %s CC[%d]", ccptr->curr_user, ccptr->cs_pid);
close(ccptr->client_socket);
ccptr->client_socket = -1;
become_session(NULL);
syslog(LOG_INFO, "context: session %d (%s) ended.", con->cs_pid, c);
become_session(NULL);
syslog(LOG_INFO, "context: session %d (%s) ended.", con->cs_pid, c);
con->ServiceName, con->cs_host, con->cs_addr, con->cs_UDSclientUID
);
con->ServiceName, con->cs_host, con->cs_addr, con->cs_UDSclientUID
);