On Sun, 16 Jul 2023 11:08:51 +0000, Seymour J Metz wrote:

>With ATTACH, you need to play games to prevent two tasks from running 
>concurrently on two CPUs. With coroutines, you have multiples contexts within 
>a single thread; there is no need for explicit interlocking.
>
Il a les défauts de ses qualités.  At times one wants things to run concurrently
yet share storage, locking only when necessary for integrity.  Even with only
one CPU locking is sometimes necessary because of preemptive dispatching.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to