[Info-vax] Compile error (Pthread on VMS)?
Joukj
joukj at hrem.nano.tudelft.nl
Wed Feb 20 06:38:55 EST 2013
Stephen Hoffman wrote:
> On 2013-02-19 20:49:55 +0000, sfloreslyon at gmail.com said:
>
>> Yes, that's it exactly. The code uses pthread_kill(), so that's why I
>> was defining _PTHREAD_ENV_UNIX on the compile.
>>
>> If pthread_kill() is not implemented in VMS, what is the correct call
>> to use?
>
> There's an undocumented system service sys$sigprc that might be useful —
> check with the HP VMS engineering folks around using that here, and what
> they recommend about this.
>
> For some previous discussions and suggestions:
>
> <https://groups.google.com/d/topic/comp.os.vms/d0i7mnqaaWA/discussion>
> <https://groups.google.com/d/topic/comp.os.vms/4GyXPipnYcE/discussion>
>
> Definitely check with the VMS engineering folks, too, and see what they
> have to say about this.
>
>
One of the discussion above was started by me years ago. In the end I
solved the problem by sending signals from/to the threads by means of
the system services SYS$ENQ and SYS$DEQ. (a little shooting at mouse
using a cannon), but I could use the extra possibilties these routines
gave me.
Jouk
More information about the Info-vax
mailing list