Branch: Tag:

1996-10-12

1996-10-12 18:04:32 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix

Rev: src/threads.c:1.7

25: Inside #if defined(_REENTRANT)
  {    struct thread_starter arg = *(struct thread_starter *)data;    JMP_BUF back; -  INT32 args; +  INT32 tmp;       free((char *)data);    -  if(args=mt_lock( & interpreter_lock)) -  fatal("Failed to lock interpreter, errno %d\n",args); +  if(tmp=mt_lock( & interpreter_lock)) +  fatal("Failed to lock interpreter, errno %d\n",tmp);    -  args=arg.args->size; +     init_interpreter();       thread_id=arg.id;
46: Inside #if defined(_REENTRANT)
   pop_stack();    UNSET_ONERROR(tmp);    } else { +  INT32 args=arg.args->size; +     push_array_items(arg.args);    f_call_function(args);    arg.args=0;