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.132 2007/06/10 18:11:13 mast Exp $ + || $Id: threads.h,v 1.133 2007/10/06 13:10:12 marcus 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:103:   void exit_thread_obj(struct object *o);   PMOD_EXPORT void f_thread_local(INT32 args);   void f_thread_local_get(INT32 args);   void f_thread_local_set(INT32 args);   void low_th_init(void);   void th_init(void);   void th_cleanup(void);   int th_num_idle_farmers(void);   int th_num_farmers(void);   PMOD_EXPORT void th_farm(void (*fun)(void *), void *here); + PMOD_EXPORT void call_with_interpreter(void (*func)(void *ctx), void *ctx); + PMOD_EXPORT void enable_external_threads(void); + PMOD_EXPORT void disable_external_threads(void);   /* Prototypes end here */      #endif         /* for compatibility */   #include "interpret.h"      #endif /* THREADS_H */