Interrupted select()'s are detail-level events

This commit is contained in:
Philip Prindeville 2024-01-18 12:57:26 -07:00 committed by Olof Hagsand
parent 23b538e7dc
commit aca278ccf9

View file

@ -409,7 +409,7 @@ clixon_event_loop(clixon_handle h)
* New select loop is called * New select loop is called
* (3) Other signals result in an error and return -1. * (3) Other signals result in an error and return -1.
*/ */
clixon_debug(CLIXON_DBG_DEFAULT, "select: %s", strerror(errno)); clixon_debug(CLIXON_DBG_DEFAULT | CLIXON_DBG_DETAIL, "select: %s", strerror(errno));
if (clixon_exit_get() == 1){ if (clixon_exit_get() == 1){
clixon_err(OE_EVENTS, errno, "select"); clixon_err(OE_EVENTS, errno, "select");
retval = 0; retval = 0;
@ -468,7 +468,7 @@ clixon_event_loop(clixon_handle h)
} }
if (clixon_exit_get() == 1) if (clixon_exit_get() == 1)
retval = 0; retval = 0;
clixon_debug(CLIXON_DBG_DEFAULT, "done:%d", retval); clixon_debug(CLIXON_DBG_DEFAULT, "retval:%d", retval);
return retval; return retval;
} }