pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:1:   #include "global.h" - RCSID("$Id: threads.c,v 1.167 2001/09/25 14:03:57 grubba Exp $"); + RCSID("$Id: threads.c,v 1.168 2001/09/25 14:17:47 grubba Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;      #ifdef _REENTRANT   #include "threads.h"   #include "array.h"   #include "mapping.h"   #include "object.h"   #include "pike_macros.h"
pike.git/src/threads.c:1289:    pop_n_elems (args);    push_constant_text ("Thread.Thread(");    push_int64((ptrdiff_t)THIS_THREAD->id);    push_constant_text (")");    f_add (3);   }      /*! @decl static int id_number()    *!    *! Returns an id number identifying the thread. +  *! +  *! @note +  *! This function was added in Pike 7.2.204.    */   void f_thread_id_id_number(INT32 args)   {    pop_n_elems(args);    push_int64((ptrdiff_t)THIS_THREAD->id);   }      /*! @decl mixed result()    *!    *! Waits for the thread to complete, and then returns