Locks and State Tokens

7/29/97


Click here to start


Table of Contents

Locks and State Tokens

Introduction

Resource Access

Exclusive Lock

Shared Lock

Why Exclusive and Shared?

Lock Compatibility

Required Support

LOCK Method

Lock-Info Header

Owner Header

Time-Out Header

Time-Out Header (cont’d)

Time-Out Header (cont’d)

Time-Out Header

UNLOCK

Lifecycle of a Lock

Write Lock

Write Lock (cont’d)

Write Locks and Containers

State Token

State Token (cont’d)

State Token (cont’d)

State Token Syntax

Lock Token Syntax

State Token Conditional Headers

State Token Conditional Headers (cont’d)

Lock Example

UNLOCK Example

Lock Type Discovery

Lock Type Discovery Mechanism

Active Lock Discovery

Author: Jim Whitehead

Email: ejw@ics.uci.edu

Home Page: http://www.ics.uci.edu/~ejw/