pdlmagic.c (PDL-2.080) | : | pdlmagic.c (PDL-2.081) | ||
---|---|---|---|---|
#include "pdlcore.h" | #include "pdlcore.h" | |||
/* Variable storing our the pthread ID for the main PDL thread. | /* Variable storing the pthread ID for the main PDL thread. | |||
* This is used to tell if we are in the main pthread, or in one of | * This is used to tell if we are in the main pthread, or in one of | |||
* the pthreads spawned for PDL processing | * the pthreads spawned for PDL processing | |||
* This is only used when compiled with pthreads. | * This is only used when compiled with pthreads. | |||
*/ | */ | |||
#ifdef PDL_PTHREAD | #ifdef PDL_PTHREAD | |||
static pthread_t pdl_main_pthreadID; | static pthread_t pdl_main_pthreadID; | |||
static int done_pdl_main_pthreadID_init = 0; | static int done_pdl_main_pthreadID_init = 0; | |||
/* deferred error messages are stored here. We can only barf/warn from the main | /* deferred error messages are stored here. We can only barf/warn from the main | |||
* thread, so worker threads complain here and the complaints are printed out | * thread, so worker threads complain here and the complaints are printed out | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |