>>ITEM: N00061
>>DATE: 05/14/96
>>TYPE:
Information
>>TITLE: N_MLOCK() requires explicit UNLOCK
>>PRODUCT(S):
NetLib (all versions) for Clipper
>>PLATFORMS(S):
Clipper (all versions)
>>SUMMARY:
N_MLOCK() requires an explicit UNLOCK to release it.
>>MORE INFORMATION:
In native Clipper, RLOCK() or FLOCK() automatically
releases a previous record or file lock: e.g.,
* ? RLOCK()
* ? FLOCK()
* automatically releases RLOCK()
This is NOT the case with N_MLOCK(), which must be released
explicitly with UNLOCK, e.g.,
? N_MLOCK("1,2,3,4")
UNLOCK
*explicit UNLOCK
? FLOCK()
>>RESOLUTION/FIX:
Issue explicit UNLOCK or UNLOCK ALL to release any locks imposed
with N_MLOCK().
Special note to Clipper 5.2 and 5.3 users:
Clipper 5.2
introduced DBRLOCK() which allows multiple record locks in native
Clipper.
>>EXAMPLE(S):
>>SEE ALSO:
>>COPYRIGHT 1997 Communication Horizons
All rights reserved worldwide.
No distribution without specific consent of publisher.
Knowledgebase
Top Home