MCPcopy Create free account
hub / github.com/cginternals/glbinding / stop

Function stop

source/glbinding-aux/source/logging.cpp:128–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void stop()
129{
130 glbinding::removeCallbackMask(CallbackMask::Timestamp | CallbackMask::Logging);
131
132 g_stop = true;
133 std_boost::unique_lock<std_boost::mutex> locker(g_lockfinish);
134
135 // Spurious wake-ups: http://www.codeproject.com/Articles/598695/Cplusplus-threads-locks-and-condition-variables
136 while(!g_persisted)
137 {
138 g_finishcheck.wait(locker);
139 }
140}
141
142void pause()
143{

Callers 3

restartMethod · 0.85
compareFunction · 0.85
mainFunction · 0.85

Calls 1

removeCallbackMaskFunction · 0.85

Tested by

no test coverage detected