[Info-vax] pthread_kill() replacement for VMS?

Scott Dorsey kludge at panix.com
Thu Jul 27 11:25:40 EDT 2017


Stephen Hoffman  <seaohveh at hoffmanlabs.invalid> wrote:
>On 2017-07-27 14:04:30 +0000, Scott Dorsey said:
>
>>  On Thursday, July 27, 2017 at 8:59:52 AM UTC-4, John E. Malmberg wrote:
>>> 
>>> One of the gnulib tests is doing a pthread_kill call which does not  
>>> exist on VMS.
>> 
>> Good.
>> 
>>> Is there a quick fix to create such a routine?
>> 
>> No.  Any time you see code using such a thing, it is inherently unsafe.
>
>The pthread_kill call is part of the POSIX.1 IEEE Std 1003.1-2008 standard:
>
>http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_kill.html

It certainly is, but that doesn't make it a good idea.
--scott


-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."



More information about the Info-vax mailing list