----- Original Message -----
From: "Chris Marshall"
Thanks for the confirmation. It means that it should be
possible to get pthreads support in for win32 and cygwin
platforms.
I've hacked Basic/Core/Makefile.PL so that pthread.h and the pthread library
are found on my win32 box.
But the PDL build doesn't get very far.
My pthread.h contains:
#######################
typedef struct {
void * p;
unsigned int x;
} ptw32_handle_t;
typedef ptw32_handle_t pthread_t;
#######################
But line 20 of Basic/Core/pdlmagic.c is:
static pthread_t pdl_main_pthreadID = 0;
which, of course, generates the error:
pdlmagic.c:20: error: invalid initializer
Also, line 429 of pdlmagic.c contains the expression "!pdl_main_pthreadID" -
which generates the error:
pdlmagic.c:429: error: wrong type argument to unary exclamation mark
I think this could well turn out to be a not-so-trivial exercise ...
Cheers,
Rob
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl