[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Local synchronization in windows process (critical section)

  • Thread starter Thread starter PhilF
  • Start date Start date
Status
Not open for further replies.
P

PhilF

Guest
Can you still access a DB from these ABL sessions? The technique I use for this is to lock a record in a utility table (which I call ResourceLock). It is possible to create a lock without extending your transaction scope. A side benefit of this technique is that Progress automatically releases the lock if the process dies prematurely, so you don't have to worry about "stale locks". I can supply some sample code if it would help.

Continue reading...
 
Status
Not open for further replies.
Back
Top