get_lockmode - get current lock state of object


CONTENTS


SYNOPSIS

#include <ShoreApp.h>
shrc Ref<T>::get_lockmode(LockMode &lm) const;

DESCRIPTION

Get_lockmode returns the current lock state of the referenced object with respect to the current transaction. If the object was created within the current transaction, then the reported lockmode will be EX (exclusive). If the ref is nil, then an error will be returned.


VERSION

This manual page applies to Version 1.1.1 of the Shore software.

SPONSORSHIP

The Shore project is sponsored by the Advanced Research Project Agency, ARPA order number 018 (formerly 8230), monitored by the U.S. Army Research Laboratory under contract DAAB07-91-C-Q518.

COPYRIGHT

Copyright © 1994, 1995, 1996, 1997, Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.