diff --git a/src/CHANGELOG b/src/CHANGELOG index 16a1a6971..a52d643c5 100644 --- a/src/CHANGELOG +++ b/src/CHANGELOG @@ -28,6 +28,8 @@ ECL 1.0: - There was a problem with the variable capture when creating accessors methods for classes. + - [Win32] Processes are now correctly listed with MP:ALL-PROCESSES (M. Goffioul) + ;;; Local Variables: *** ;;; mode:text *** ;;; fill-column:79 *** diff --git a/src/c/threads_win32.d b/src/c/threads_win32.d index ad52258b9..04ac68aa4 100644 --- a/src/c/threads_win32.d +++ b/src/c/threads_win32.d @@ -229,7 +229,7 @@ mp_process_enable(cl_object process) FEerror("Cannot enable the running process ~A.", 1, process); THREAD_OP_LOCK(); code = (HANDLE)CreateThread(NULL, 0, thread_entry_point, process, 0, &threadId); - if (!code) { + if (code) { /* If everything went ok, add the thread to the list. */ cl_core.processes = CONS(process, cl_core.processes); }