| 
 Posted by Jerry Stuckle on 01/23/06 16:33 
Geoff Berrow wrote: 
> Message-ID: <cuednQYv09gBwkneRVn-iA@comcast.com> from Jerry Stuckle 
> contained the following: 
>  
>  
>>So the system recomputes the balance.  If there are sufficient funds in  
>>the account, it processes the withdrawal.  
>  
>  
> Isn't a lock required for the very short period of time in between 
> recomputing the balance and processing the withdrawal? 
>  
 
Yes, but that's a very short time - on a mainframe you're talking  
microseconds; milliseconds at the worst. 
 
You can never eliminate all locks.  The secret is to minimize the number  
and length of the locks. 
 
--  
================== 
Remove the "x" from my email address 
Jerry Stuckle 
JDS Computer Training Corp. 
jstucklex@attglobal.net 
==================
 
  
Navigation:
[Reply to this message] 
 |