Do not attempt interrupting a process while it is being initialized.

This commit is contained in:
Juan Jose Garcia Ripoll 2010-01-20 22:54:23 +01:00
parent 7e6b13cfa3
commit 942e37bc8d

View file

@ -141,6 +141,7 @@ thread_entry_point(void *arg)
cl_object process = (cl_object)arg;
cl_env_ptr env;
ecl_set_process_env(NULL);
process->process.active = 2;
#ifndef ECL_WINDOWS_THREADS
pthread_cleanup_push(thread_cleanup, (void *)process);