Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ solution
Method
solution
gecode/search/par/dfs.hpp:105–113 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
103
*/
104
template<class Tracer>
105
forceinline void
106
DFS<Tracer>::solution(Space* s) {
107
m_search.acquire();
108
bool bs = signal();
109
solutions.push(s);
110
if (bs)
111
e_search.signal();
112
m_search.release();
113
}
114
115
116
Callers
1
run
Method · 0.45
Calls
4
acquire
Method · 0.45
push
Method · 0.45
signal
Method · 0.45
release
Method · 0.45
Tested by
no test coverage detected