tibasSpaceDef_SetLockWait()

Sets the amount of time a put, update, take, or lock operations will wait for the lock to be cleared if the tuple is currently locked.

Declaration

tibas_status tibasSpaceDef_SetLockWait
(tibasSpaceDef spaceDef,
tibas_long      lockWait)

Parameters

Parameter Description
spaceDef The TIBCO ActiveSpaces entity on which the function is invoked.
lockWait Number of milliseconds until lock is automatically cleared.

The default is TIBAS_WAIT_FOREVER (-1).

Remarks

Use the tibasSpaceDef_SetLockWait() function to set the amount of time a put, update, take, or lock operations will wait for the lock to be cleared if the tuple is currently locked.