lib/ovsdb-idl.c
/* Returns true if 'idl' is configured to obtain a lock and owns that lock.
 *
 * Locking and unlocking happens asynchronously from the database client's
 * point of view, so the information is only useful for optimization (e.g. if
 * the client doesn't have the lock then there's no point in trying to write to
 * the database). */
Returns true if 'idl' is configured to obtain a lock and owns that lock.
Locking and unlocking happens asynchronously from the database client's
point of view, so the information is only useful for optimization .
Returns true if ' idl ' is configured to obtain a lock and owns that lock . Locking and unlocking happens asynchronously from the database client ' s point of view so the information is only useful for optimization .
bool
ovsdb_idl_has_lock(const struct ovsdb_idl *idl)
{
    return idl->data.has_lock;
}
bool ovsdb_idl_has_lock ( const struct ovsdb_idl * idl ) { return idl -> data . has_lock ; }
Returns true if 'idl' is configured to obtain a lock and owns that lock.
Returns true if ' idl ' is configured to obtain a lock and owns that lock .