pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: threads.c,v 1.240 2006/04/07 05:46:01 mast Exp $ + || $Id: threads.c,v 1.241 2006/05/23 11:29:07 nilsson Exp $   */      #ifndef CONFIGURE_TEST   #include "global.h" - RCSID("$Id: threads.c,v 1.240 2006/04/07 05:46:01 mast Exp $"); + RCSID("$Id: threads.c,v 1.241 2006/05/23 11:29:07 nilsson Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;   #endif /* !CONFIGURE_TEST */      /* #define PICKY_MUTEX */      #ifdef _REENTRANT      #ifndef CONFIGURE_TEST
pike.git/src/threads.c:1635:    f_allocate(1);    }   }      /*! @decl int status()    *!    *! Returns the status of the thread.    *!    *! @returns    *! @int -  *! @value @[Thread.THREAD_NOT_STARTED] -  *! @value @[Thread.THREAD_RUNNING] -  *! @value @[Thread.THREAD_EXITED] +  *! @value Thread.THREAD_NOT_STARTED +  *! @value Thread.THREAD_RUNNING +  *! @value Thread.THREAD_EXITED    *! @endint    */   void f_thread_id_status(INT32 args)   {    pop_n_elems(args);    push_int(THIS_THREAD->status);   }      /*! @decl static string _sprintf(int c)    *!