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.124 2003/02/15 17:33:33 grubba Exp $ + || $Id: threads.h,v 1.125 2003/02/20 11:55: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:22:   struct pike_frame;      extern PIKE_MUTEX_T interleave_lock;      #define THREAD_NOT_STARTED -1   #define THREAD_RUNNING 0   #define THREAD_EXITED 1      struct thread_state {    struct Pike_interpreter state; +  struct object *thread_obj; /* NOTE: Not ref-counted! */    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;