Home

Communication Horizons
established 1986

Home
Contact

 

Knowledgebase Index
About Us
Contact
Legacy Products


Communication Horizons
65 High Ridge Rd. #428
Stamford CT 06905

support

800-480-1604
203-321-1278
fax  286-1056

       

Knowledgebase


>>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

 

© Copyright 2001 Communication Horizons LLC.
“NetLib” and “Encryptionizer” are Registered Trademarks of Communication Horizons.
US and international patents pending.
Updated 29 Dec 2001