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.251 2006/07/05 02:22:56 mast Exp $ + || $Id: threads.c,v 1.252 2006/08/09 01:20:33 nilsson Exp $   */      #ifndef CONFIGURE_TEST   #include "global.h"      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;   #endif /* !CONFIGURE_TEST */      /* #define PICKY_MUTEX */
pike.git/src/threads.c:1692:    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)    *!