Skip to content

Commit

Permalink
Improved README
Browse files Browse the repository at this point in the history
  • Loading branch information
karel-burda authored Jul 1, 2019
1 parent e168ce3 commit 76a4038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ The read-only methods uses the read-lock (`std::shared_lock<T>` on the mutex), t
**There are these main classes:**
### `locking_container_basic`
`locking_container_basic` provides methods to run certain block of code (e.g. via lambdas) with read, resp. write, lock:
* `read_lock(T && t)`
* `write_lock(T && t)`
* `read_lock(T && action)`
* `write_lock(T && action)`

`locking_container_basic` is not copy-able nor move-able due to the mutex contained within the class.

Expand Down

0 comments on commit 76a4038

Please sign in to comment.