Panda3D

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Lock Class Reference
Inheritance diagram for Lock:

## Public Member Functions
| __init__ (self, name="PythonLock")
| __exit__ (self, t, v, tb)
| acquire (self, blocking=True)

## Detailed Description

     This class provides a wrapper around Panda's Mutex object.
    The wrapper is designed to emulate Python's own threading.Lock
    object.

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | name = "PythonLock" )

## Member Function Documentation

## ◆ __exit__()

__exit__ | ( |  | self,
|  |  | t,
|  |  | v,
|  |  | tb )

## ◆ acquire()

acquire | ( |  | self,
|  |  | blocking = True )