Branch: Tag:

1996-11-19

1996-11-19 10:04:32 by David Hedbor <david@hedbor.org>

committing

Rev: src/configure.in:1.22
Rev: src/machine.h.in:1.11
Rev: src/threads.c:1.12

1:   #include "global.h" - RCSID("$Id: threads.c,v 1.11 1996/11/17 01:57:49 hubbe Exp $"); + RCSID("$Id: threads.c,v 1.12 1996/11/19 10:04:29 neotron Exp $");      int num_threads = 1;   int threads_disabled = 0;
124:   {    mt_lock( & interpreter_lock);    pthread_attr_init(&pattr); + #ifdef HAVE_PTHREAD_ATTR_SETSTACKSIZE    pthread_attr_setstacksize(&pattr, 2 * 1024 * 1204); -  + #endif    pthread_attr_setdetachstate(&pattr, PTHREAD_CREATE_DETACHED);       add_efun("thread_create",f_thread_create,"function(mixed ...:int)",OPT_SIDE_EFFECT);