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.123 2003/02/10 17:10:40 mast Exp $ + || $Id: threads.h,v 1.124 2003/02/15 17:33:33 grubba Exp $   */      #ifndef THREADS_H   #define THREADS_H      #include "machine.h"   #include "object.h"   #include "pike_error.h"   #include "interpret.h"   #include "pike_threadlib.h"
pike.git/src/threads.h:28:   #define THREAD_EXITED 1      struct thread_state {    struct Pike_interpreter state;    char swapped;    char status;    COND_T status_change;    THREAD_T id;    struct mapping *thread_local;    struct thread_state *hashlink, **backlink; +  struct svalue result;   #ifdef PROFILING   #if SIZEOF_LONG_LONG - 0 != 0    long long time_base;   #else    long time_base;   #endif   #endif /* PROFILING */   #if CPU_TIME_IS_THREAD_LOCAL == PIKE_YES    cpu_time_t auto_gc_time;   #endif
pike.git/src/threads.h:55:    unsigned *id);   struct thread_starter;   struct thread_local;   void low_init_threads_disable(void);   void init_threads_disable(struct object *o);   void exit_threads_disable(struct object *o);   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 object *o); - PMOD_EXPORT void thread_table_delete(struct object *o); + 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);   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;