.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
robin...@sce.com

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Tony Harminc
Sent: Monday, October 21, 2019 10:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: Best way for a task to give up the CPU and let other 
tasks run?

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