Usage

To use oslo.concurrency in a project, import the relevant module. For example:

from oslo_concurrency import lockutils

Command Line Wrapper

oslo.concurrency includes a command line tool for use in test jobs that need the environment variable OSLO_LOCK_PATH set. To use it, prefix the command to be run with lockutils-wrapper. For example:

$ lockutils-wrapper env | grep OSLO_LOCK_PATH
OSLO_LOCK_PATH=/tmp/tmpbFHK45

Table Of Contents

Previous topic

Installation

Next topic

Configuration Options

Project Source

This Page