On Sun, 20 Oct 2019 at 02:32, David Crayford <dcrayf...@gmail.com> wrote:

> The only code I've seen that implements yield are synchronization
> routines. Consider a spin-lock which is spinning on a CS instruction.

Why would any application program on z/OS implement and use a spin
lock? Why do the authors of such think they can do a better
implementation than the operating system?

If you think you need a spin lock on z/OS, you should probably be
using transactional execution.

Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to