03-20-2005 10:07 PM
Currently our application uses cma threads running on the Alpha and I would like to change this to the standard pthreads interface when I port to the Itanium (and also to run back on the Alpha so I only have to maintain one code set)
Solved! Go to Solution.
03-20-2005 11:41 PM
it says you can call the pthreads library from other languages but you have to roll your own equivilent to pthread.h
Purely Personal Opinion
03-21-2005 02:43 AM
03-21-2005 07:24 PM
It should be straightforward to construct the pthreads interface using similar conventions to those in SYS$LIBRARY:STARLET.PAS and SYS$LIBRARY:PASCAL$CMA_ROUTINES.PAS. Base it on the C headers and do a 1 for 1 conversion.
I'll have a look and see if we have any headers for pthread routines in house.
03-22-2005 12:46 AM
please do _NOT_ use plain e-mail addresses in your postings!
Mutilate them in a way that human readers will simply re-construct them, while making it hard for automatons to recognise!!
Mainly it is (alas!) a necessary means of self-protection.
Have one on me.