[Info-vax] Listeners in VMS Basic, was: Re: Integrity iLO Configuration?

Stephen Hoffman seaohveh at hoffmanlabs.invalid
Fri Jun 25 21:24:11 EDT 2021


On 2021-06-25 23:26:19 +0000, Arne Vajhj said:

> Why not pthreads?

pthreads is not my preferred threading model nor my preferred threading 
API. Not after using some of the other threading implementations 
around. Nor is the pthreads API friendly to BASIC code.

Specifically for established and existing OpenVMS apps, KP Threads is a 
more familiar interface such as when working in BASIC.

Using processes rather than threads avoids the "fun" of ensuring that 
all the app code and RTL code and all the shared variables are all 
thread re-entrant, too. This for OpenVMS. Threading support 
else-platform can be better.

And if I wanted to overhaul or to re-write the existing BASIC app to 
use pthreads, or Java or Python or PHP, or other such efforts, I'd 
seriously consider re-hosting the entire app else-platform as that's 
headed for a re-write.

Then there's this bit of "fun" to consider with pthreads: 
https://www.hpl.hp.com/techreports/2004/HPL-2004-209.html


-- 
Pure Personal Opinion | HoffmanLabs LLC 




More information about the Info-vax mailing list