MCPcopy Create free account
hub / github.com/Gecode/gecode / m

Function m

gecode/support/thread/thread.hpp:118–121  ·  view source on GitHub ↗

* Locks */

Source from the content-addressed store, hash-verified

116 * Locks
117 */
118 forceinline
119 Lock::Lock(Mutex& m0) : m(m0) {
120 m.acquire();
121 }
122 forceinline
123 Lock::~Lock(void) {
124 m.release();

Callers 15

setupMethod · 0.85
setupMethod · 0.85
solutionMethod · 0.85
solutionMethod · 0.85
solutionMethod · 0.85
solutionMethod · 0.85
solutionMethod · 0.85
solutionMethod · 0.85
solutionMethod · 0.85
solutionMethod · 0.85
solutionMethod · 0.85
QCPMethod · 0.85

Calls 1

acquireMethod · 0.45

Tested by

no test coverage detected