Difference between revisions of "Locks and Deadly Locks"

From MidrangeWiki
Jump to: navigation, search
 
(Locks)
Line 3: Line 3:
  
 
'''Locks''' are normal.
 
'''Locks''' are normal.
 +
 +
GO CMDLCK
 +
 +
[[RPG]] Reads an entire record into a program which will be updating the record on some account, item, customer, order, whatever.  Different programs in the hands of different users might be updating different fields such as:
 +
* Inventory Totals
 +
* $ Financials
 +
* Alphabetical descriptions
 +
 +
We want to avoid conflicts between the different people who might be updating different fields in the same records at the same time.
  
 
== Deadly Locks ==
 
== Deadly Locks ==
  
 
'''Deadly Locks''' are a symptom of poor software design and/or poor implementation practices.
 
'''Deadly Locks''' are a symptom of poor software design and/or poor implementation practices.

Revision as of 15:27, 31 May 2005

Locks

Locks are normal.

GO CMDLCK

RPG Reads an entire record into a program which will be updating the record on some account, item, customer, order, whatever. Different programs in the hands of different users might be updating different fields such as:

  • Inventory Totals
  • $ Financials
  • Alphabetical descriptions

We want to avoid conflicts between the different people who might be updating different fields in the same records at the same time.

Deadly Locks

Deadly Locks are a symptom of poor software design and/or poor implementation practices.