MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / CRON_InsertTask

Function CRON_InsertTask

src/cron/cron.c:142–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142static void CRON_InsertTask
143(
144 CRON_TASK *t
145) {
146 ASSERT(t != NULL);
147 pthread_mutex_lock(&cron->mutex);
148 Heap_offer(&cron->tasks, t);
149 pthread_mutex_unlock(&cron->mutex);
150
151 CRON_WakeUp();
152}
153
154static void CRON_PerformTask
155(

Callers 1

Cron_AddTaskFunction · 0.85

Calls 2

Heap_offerFunction · 0.85
CRON_WakeUpFunction · 0.85

Tested by

no test coverage detected