Shared Access

B Tree files may be created/opened in exclusive or shared mode. Application programs that use shared access should be prepared to handle a busy return from a read or update access to the B Tree file.

An application can gain exclusive access to a B File after it has been opened in shared mode. This is achieved via the btlock function. The btunlock function relinquishes exclusive access.