Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pthread_kill/pthread_sigmask help

20 views
Skip to first unread message

Dan O'Reilly

unread,
Sep 25, 1999, 3:00:00 AM9/25/99
to
I'm working with porting an application to VMS, and have run into a
rather irritating roadblock. The application uses DECthreads, and while
this isn't by itself a major problem, the real problem is that DECthreads
don't support what appear to be 2 fairly common pthread routines:
pthread_kill() and pthread_sigmask().

The Guide to DECthreads manual actually documents them, but they don't
actually exist for VMS, according to the CSC. This means that I need to
get some other analog to them. Does anybody have such a creature, or
know another workaround? I'm pretty disappointed in Compaq about this
one, especially since there's NO PLACE in the manual where it says that
they're unsupported for VMS!

------
+-------------------------------+---------------------------------------+
| Dan O'Reilly | "Outside a dog, a book is man's best |
| Principal Engineer | friend. Inside a dog, it's too |
| Process Software Corporation | dark to read." |
| http://www.process.com | -- Groucho Marx |
+-------------------------------+---------------------------------------+


Brian Schenkenberger, VAXman-

unread,
Sep 25, 1999, 3:00:00 AM9/25/99
to
In article <4.1.199909250...@pop.clsp.uswest.net>, Dan O'Reilly <da...@process.com> writes:
>I'm working with porting an application to VMS, and have run into a
>rather irritating roadblock. The application uses DECthreads, and while
>this isn't by itself a major problem, the real problem is that DECthreads
>don't support what appear to be 2 fairly common pthread routines:
>pthread_kill() and pthread_sigmask().
>
>The Guide to DECthreads manual actually documents them, but they don't
>actually exist for VMS, according to the CSC. This means that I need to
>get some other analog to them. Does anybody have such a creature, or
>know another workaround? I'm pretty disappointed in Compaq about this
>one, especially since there's NO PLACE in the manual where it says that
>they're unsupported for VMS!

My Guide to DECthread:

pthread_kill

Delivers a signal to a specified target thread.

(and in italicized text) This routine is for Digital UNIX systems only.


pthread_sigmask

Examine or change the calling thread's signal mask.

(and in italicized text) This routine is for Digital UNIX systems only.


You can achieve some of the above with the C signal() (yuch!) and use
of pthread conditions. I'd suggest looking at the code and modifying
its behaviour to make it more VMS-like and cast out the unixisms.

--
VAXman- OpenVMS APE certification number: AAA-0001 VAX...@TMESIS.COM

0 new messages