GET_LOCKMODE(CXXLB)

Shore Programmer's Manual - 2 August 96

NAME

get_lockmode \- get current lock state of object

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.0 of theShore 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-92-C-Q508.

COPYRIGHT

Copyright (c) 1994, 1995, 1996 Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.