Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
steal
Method · 0.80
Calls
2
acquire
Method · 0.45
release
Method · 0.45
Tested by
no test coverage detected