MCPcopy Create free account
hub / github.com/ElementsProject/elements / post

Method post

src/sync.h:303–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301 }
302
303 void post()
304 {
305 {
306 std::lock_guard<std::mutex> lock(mutex);
307 value++;
308 }
309 condition.notify_one();
310 }
311};
312
313/** RAII-style semaphore lock */

Callers 3

getcoins.pyFile · 0.80
ReleaseMethod · 0.80
InterruptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected