Cytosim PI Cytoskeleton Simulator

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

List of all members | Public Member Functions
SimThread::Lock Class Reference

## Detailed Description

A Lock should be created to access the simulation state if it is running live. The constructor will stop the simulation at the next opportunity.

The thread will hold indefinitely until the lock is acquired.

The lock will be released when the Lock goes out of scope.

## Public Member Functions
| Lock (SimThread *p)
| Stop the simulation, create a lock and call Simul::relax()
| ~Lock ()
| Release the pthread lock.