* (we consider serial jobs currently running as in the queue) */
if ((is_serial_sev(line->cl_option) && line->cl_numexe >= UCHAR_MAX) ||
(!is_serial_sev(line->cl_option) && line->cl_numexe > 0)) {
- send_msg_fd_debug(info_fd, "already in serial queue '%s'",
+ send_msg_fd_debug(info_fd, "already in serial queue (or running) '%s'",
line->cl_shell);
return;
}
/*
- bit 6 : set to 1 : job is being serialized once
- set to 0 : job is not being serialized once
+ bit 6 : set to 1 : job is being serialized as a one-off
+ set to 0 : job is not being serialized as a one-off
*/
#define is_serial_once(opt) \
(_bit_test(opt, 6))
/*
+ WARNING: inverted bit (set_() clears the bit, and clear_() sets the bit)
bit 11 : set to 1 : can only be put once in serial queue simultaneously
set to 0 : can be put several times in serial queue simultaneously
*/
/*
- bit 12 : set to 1 : can only be put once in lavg queue simultaneously
- set to 0 : can be put several times in lavg queue simultaneously
+ bit 12 : set to 1 : can be put several times in lavg queue simultaneously
+ set to 0 : can only be put once in lavg queue simultaneously
*/
#define is_lavg_sev(opt) \
(_bit_test(opt, 12))
/*
+ WARNING: inverted bit (set_() clears the bit, and clear_() sets the bit)
bit 20 : set to 1 : let the job in the %-queue if interval is exceeded
set to 0 : remove %-job from lavg queue if interval is exceeded
*/