MCPcopy Create free account
hub / github.com/3rdparty/libprocess / open

Method open

src/gate.hpp:37–43  ·  view source on GitHub ↗

Opens the gate and notifies all the waiters.

Source from the content-addressed store, hash-verified

35public:
36 // Opens the gate and notifies all the waiters.
37 void open()
38 {
39 synchronized (mutex) {
40 opened = true;
41 cond.notify_all();
42 }
43 }
44
45 // Blocks the current thread until the gate has been opened.
46 void wait()

Callers 1

synchronizedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected