We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d33c42 commit a29901cCopy full SHA for a29901c
src/ESPressio_ThreadSafe.hpp
@@ -114,7 +114,7 @@ namespace ESPressio {
114
}
115
116
/// Invokes the provided `callback` with the `Mutex` object locked, returning `false` if the thread-safe lock was not obtained.
117
- bool TryWithLock(std::function<void(T&)> callback) {
+ bool TryWithReadLock(std::function<void(T&)> callback) {
118
if (!_mutex.try_lock()) {
119
return false;
120
0 commit comments