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

Arne Vajhøj arne at vajhoej.dk
Sat Jun 26 14:49:53 EDT 2021


On 6/25/2021 9:24 PM, Stephen Hoffman wrote:
> 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.

There is at least one advantage with pthreads - it is a standard. It
is actually possible to get help with it, because it is widely used.

And I can only halfway follow your problem with the model.

The pthreads model is the basic model used by almost all
threading systems as the lowest level thread API.

Java, .NET, Windows, Boost/C++ 11, Qt, Delphi etc. all
provide a similar API.

Sure some of them provide additional capabilities on top
of that: thread pool, implicit parallelization, async,
reactive etc..

But the foundation is still the basic thread API.

> 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.

Migrating the VMS Basic code to another platform is likely impossible
short/mid term.

Arne




More information about the Info-vax mailing list