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.139 2010/09/29 12:48:22 grubba Exp $ + || $Id$   */      #ifndef THREADS_H   #define THREADS_H      #include "object.h"   #include "pike_error.h"   #include "interpret.h"   #include "pike_threadlib.h"      #ifdef PIKE_THREADS      #include "pike_rusage.h"      struct svalue;   struct pike_frame;    - extern PIKE_MUTEX_T interleave_lock; -  +    /* Status values */   #define THREAD_NOT_STARTED -1   #define THREAD_RUNNING 0   #define THREAD_EXITED 1      /* Thread flags */   #define THREAD_FLAG_TERM 1 /* Pending termination. */   #define THREAD_FLAG_INTR 2 /* Pending interrupt. */      #define THREAD_FLAG_SIGNAL_MASK 3 /* All of the above. */