pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:1:   /* -  * $Id: threads.h,v 1.121 2004/03/08 15:02:43 grubba Exp $ +  * $Id: threads.h,v 1.122 2004/03/09 10:07:12 grubba Exp $    */   #ifndef THREADS_H   #define THREADS_H      #include "machine.h"   #include "object.h"   #include "pike_error.h"   #include "interpret.h"   #include "main.h"   
pike.git/src/threads.h:283:    */      #endif /* SGI_SPROC_THREADS */         #ifdef NT_THREADS   #include <process.h>   #include <windows.h>      #define LOW_THREAD_CHECK_ZERO_ERROR(CALL) do { \ -  if (!(CALL)) thread_low_error (GetLastError()); \ +  if (!(CALL)) thread_low_error (GetLastError(), TOSTR(CALL), \ +  __FILE__, __LINE__); \    } while (0)      #define THREAD_T unsigned   #define th_setconcurrency(X)   #define th_create(ID,fun,arg) low_nt_create_thread(2*1024*1024,fun, arg,ID)   #define th_create_small(ID,fun,arg) low_nt_create_thread(8192*sizeof(char *), fun,arg,ID)   #define TH_RETURN_TYPE unsigned __stdcall   #define TH_STDCALL __stdcall   #define th_exit(foo) _endthreadex(foo)   #define th_join(ID,res) /******************* FIXME! ****************/