MCPcopy Create free account
hub / github.com/defold/defold / Signal

Function Signal

engine/dlib/src/dlib/condition_variable_web.cpp:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 }
57
58 void Signal(HConditionVariable condition)
59 {
60 assert(condition);
61#if !defined(DM_NO_THREAD_SUPPORT)
62 int ret = pthread_cond_signal(&condition->m_NativeHandle);
63 assert(ret == 0);
64#endif
65 }
66
67 void Broadcast(HConditionVariable condition)
68 {

Callers 9

JobSystemPushJobFunction · 0.70
PostFunction · 0.70
ProducerFunction · 0.50
ConsumerFunction · 0.50
SoundThreadFunction · 0.50
DeleteQueueFunction · 0.50
BeginLoadFunction · 0.50
FreeLoadFunction · 0.50

Calls 1

assertFunction · 0.50

Tested by 2

ProducerFunction · 0.40
ConsumerFunction · 0.40