Operating System - OpenVMS
1828663 Members
1502 Online
109984 Solutions
New Discussion

Re: How do I Implement pthread_kill on Open VMS

 
Mutturaj
Occasional Contributor

How do I Implement pthread_kill on Open VMS

Hello,

How do I Implement pthread_kill on Open VMS ?

Please help me!

With anticiapation

Mutturaj
3 REPLIES 3
Antoniov.
Honored Contributor

Re: How do I Implement pthread_kill on Open VMS

Hi Mutturaj,
I'm pleased to give you "Welcome to VMS world".

Sorry, but I never used thread in my software so I'm not sure what you need. However, vms has a full help about thread; help is your friend. Type
$ HELP POSIX
Warning, symbol $ (dollar) is conventional way to say DCL (shell) command; you have not to type it, just HELP POSIX.

Antonio Vigliotti
Antonio Maria Vigliotti
Antoniov.
Honored Contributor

Re: How do I Implement pthread_kill on Open VMS

Again,
if you have V7.3-2, you can read on line full documentation here
http://h71000.www7.hp.com/doc/73final/6493/6101PRO.HTML

Antonio Vigliotti
Antonio Maria Vigliotti
Antoniov.
Honored Contributor

Re: How do I Implement pthread_kill on Open VMS

... and finally I found some useful information for you.
I believe the function you need is pthread_cancel after pthread_detach
See here
http://h71000.www7.hp.com/doc/73final/6493/6101pro_004.html#delete_thread_sec
and type
$ HELP POSIX PTHREAD_CANCEL

Good Luck!

Antonio Vigliotti
Antonio Maria Vigliotti