mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-16 06:12:25 -08:00
threads.d: the output from pthread_create() is not the thread handle.
This commit is contained in:
parent
9e6343bfe9
commit
a9f70db3c2
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ mp_process_enable(cl_object process)
|
|||
FEerror("Cannot enable the running process ~A.", 1, process);
|
||||
process->process.parent = mp_current_process();
|
||||
code = pthread_create(&process->process.thread, &pthreadattr, thread_entry_point, process);
|
||||
output = (process->process.thread = code)? Cnil : process;
|
||||
output = code? Cnil : process;
|
||||
#endif
|
||||
@(return output)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue