[Info-vax] KP threads
vaxinf@gmail.com
vaxinf at googlemail.com
Thu Dec 23 10:43:32 EST 2021
Did you see this?
https://manualzz.com/doc/19787956/openvms-kp-services-doug-gordon-openvms-engineering
Am 23.12.2021 um 16:25 schrieb Arne Vajhøj via Info-vax:
> They have been mentioned a few times, so I decided to take a look.
>
> And I am puzzled.
>
> Normally (pthreads, Win32, Boost/C++11, Java, .NET etc.) threads are
> about starting a bunch of independent threads that does some work
> in parallel.
>
> But when I look at EXE$KP_START, EXE$KP_STALL_GENERAL, EXE$KP_RESTART
> and EXE$KP_END then I do not see such capability.
>
> Instead it is easy to see how to do coroutines with two streams
> of execution but only one executing at a time transferring control
> forth and back between the two streams (pretty similar to Modula-2
> ISO COROUTINES TRANSFER).
>
> What am I missing?
>
> Arne
>
>
> _______________________________________________
> Info-vax mailing list
> Info-vax at rbnsn.com
> http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
>
More information about the Info-vax
mailing list