MCPcopy Create free account
hub / github.com/carbonengine/trinity / FreeSemaphore

Method FreeSemaphore

shadercompiler/WorkQueue.h:225–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 }
224
225 void FreeSemaphore()
226 {
227#ifdef __APPLE__
228 semaphore_signal( m_activeWorkersSemaphore );
229#else
230 if( !ReleaseSemaphore( m_activeWorkersSemaphore, 1, NULL ) )
231 {
232 g_messages.AddMessage( "WorkQueue2::OnBlocked: ReleaseSemaphore m_activeWorkersSemaphore error: %d", GetLastError() );
233 }
234#endif
235 }
236
237 void PutPtr( T* item )
238 {

Callers

nothing calls this directly

Calls 1

AddMessageMethod · 0.80

Tested by

no test coverage detected