Branch: Tag:


2003-02-15 17:33:34 by Henrik Grubbström (Grubba) <>

create_thread() is now truly a class...

Rev: src/builtin_functions.c:1.476
Rev: src/encode.c:1.164
Rev: src/gc.c:1.208
Rev: src/interpret.c:1.290
Rev: src/interpret.h:1.127
Rev: src/modules/HTTPLoop/timeout.c:1.11
Rev: src/modules/files/file.c:1.254
Rev: src/pike_threadlib.h:1.30
Rev: src/threads.c:1.203
Rev: src/threads.h:1.124

2:   || 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
35:    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;
62:   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);