Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

Complications with Superfiles in Standalone Multi-user Models

To lock superfile members when the host is opened in shared mode requires a special case of the ctLOCK_EXTENDED technique. It is enabled with ctSUPER_MBRLOCK and may be applied to either ctLOCK_DIRECT or ctLOCK_EXTENDED. In prior releases ctSUPER_MBRLOCK was set in the FPUTFGET mode. Now, this option is inactive by default, and therefore now defaults to not supporting SuperFile Member file exclusive locks without modification. This improves performance, but prevents a Superfile member from being opened EXCLUSIVE when the superfile host is open SHARED. Compile with #define ctSUPER_MBRLOCK to allow applications to perform EXCLUSIVE opens of superfile members when the host file is open SHARED.