pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h: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.h,v 1.137 2010/09/28 16:06:34 mast Exp $ + || $Id: threads.h,v 1.138 2010/09/28 16:20:59 grubba Exp $   */      #ifndef THREADS_H   #define THREADS_H      #include "object.h"   #include "pike_error.h"   #include "interpret.h"   #include "pike_threadlib.h"   
pike.git/src/threads.h:70:   void init_interleave_mutex(IMUTEX_T *im);   void exit_interleave_mutex(IMUTEX_T *im);   void thread_table_init(void);   unsigned INT32 thread_table_hash(THREAD_T *tid);   PMOD_EXPORT void thread_table_insert(struct thread_state *s);   PMOD_EXPORT void thread_table_delete(struct thread_state *s);   PMOD_EXPORT struct thread_state *thread_state_for_id(THREAD_T tid);   PMOD_EXPORT struct object *thread_for_id(THREAD_T tid);   PMOD_EXPORT void f_all_threads(INT32 args);   PMOD_EXPORT int count_pike_threads(void); - PMOD_EXPORT void pike_thread_yield(); + PMOD_EXPORT void pike_thread_yield(void);   TH_RETURN_TYPE new_thread_func(void * data);   void f_thread_create(INT32 args);   void f_thread_set_concurrency(INT32 args);   PMOD_EXPORT void f_this_thread(INT32 args);   struct mutex_storage;   struct key_storage;   void f_mutex_lock(INT32 args);   void f_mutex_trylock(INT32 args);   void init_mutex_obj(struct object *o);   void exit_mutex_obj(struct object *o);