Lock.this

Construct the lock with a target mutex.

The mutex passed to Lock is automatically locked.

struct Lock
this

Parameters

mutex Mutex

Mutex to lock

Meta