I sure missed that one with the locks. 

PLO CDS does exactly what is wanted.  It does 2 CS's within the locked 
instruction. 

PLO CSDST on the other hand only does a single CS followed by 2 ST's. Since 3 
separate load instructions (not under PLO control) are required when not in 
contiguous storage, there is not any method that will guarantee the 3 values 
are consistent with the others. A counter as suggested by Peter Relson won't 
help either for this same reason.


I can't think of a situation where PLO CSDST is useful. Can anyone describe a 
situation where it is useful?

Jon Perryman.



>________________________________
> From: Rob Scott <rsc...@rocketsoftware.com>
>
>
>
>I think the OP stated that his code could hold locks - in which case the latch 
>services cannot be used.
>

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