tibasUnlockOptions_Initialize()

Sets the values in a tibasUnlockOptions structure.

Declaration

void tibasUnlockOptions_Initialize(
    tibasUnlockOptions* options)

Parameters

Parameter Description
options Specifies a tibasLockOptions structure that sets the values used for an unlock operation.

Remarks

Use the tibasUnlockOptions_Initialize() fun ct on to set the values in a tibasUnlockOptions structure.

The tibasUnlockOptions structure is defined as follows:

struct _tibasUnlockOptions {
    tibas_long lockWait;
    void* resultHandler;
    void* closure;
};

You can use the elements in the tibasUnlockOptions struct to specify a ResultHandler object or closure object when waiting asynchronously for a lock on a tuple, or collection of tuples, in a space. The lockWait element is used to specify the amount of time to wait for a lock to clear.