Fixed identification of inactive processes in unixint.d

This commit is contained in:
Juan Jose Garcia Ripoll 2012-03-19 01:13:58 +01:00
parent bc738ccae8
commit a98208d1ea

View file

@ -829,7 +829,7 @@ ecl_interrupt_process(cl_object process, cl_object function)
* - In POSIX systems it sends a user level interrupt to
* the thread, which then decides how to act.
*/
unlikely_if (process->process.active != 1) {
unlikely_if (!process->process.active) {
FEerror("Cannot interrupt non-active process ~A",
1, process);
}