In a recent note, john gilmore said:

> Date:         Fri, 14 Apr 2006 14:19:23 +0000
> 
> When I do I also use a pair of CONTROL statements. the first to increase the
> number of log buffers  (I double them) and the second to restore the status
> quo ante.
> 
If two such processes could execute concurrently, the number of
buffers could be left in an unpredictable final state.  Is there
a lock to prevent this?  I suppose it could be as simple as
incrementing and decrementing the buffer count with a Compare
and Swap.

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to