Icon LockSemaphore Method

function LockSemaphore(Value: Integer): Boolean

Usage

Call the LockSemaphore method to lock the semaphore specified by the Value paramater in the table. You may reference any semaphore value from 1-1024 in the Value parameter. DBISAM allows the database developer to use semaphores on tables to convey concurrency information not available through normal locking methods. For example, it allows for synchronization of different batch processes that may require exclusive access to a given table.
Image