mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-12 12:21:15 -08:00
[Win32] Fix process listing (with thread support).
This commit is contained in:
parent
8201537dbf
commit
60e733691e
2 changed files with 3 additions and 1 deletions
|
|
@ -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 ***
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue