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

Method busy

gecode/search/par/engine.hpp:162–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160
161 template<class Tracer>
162 forceinline void
163 Engine<Tracer>::busy(void) {
164 m_search.acquire();
165 assert(n_busy > 0);
166 n_busy++;
167 m_search.release();
168 }
169
170 template<class Tracer>
171 forceinline void

Callers 1

stealMethod · 0.80

Calls 2

acquireMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected