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

Function clear_tasks

src/cron/cron.c:176–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176static void clear_tasks() {
177 CRON_TASK *task = NULL;
178 while((task = Heap_poll(cron->tasks))) {
179 CRON_FreeTask(task);
180 }
181}
182
183//------------------------------------------------------------------------------
184// CRON main loop

Callers 1

Cron_StopFunction · 0.85

Calls 2

Heap_pollFunction · 0.85
CRON_FreeTaskFunction · 0.85

Tested by

no test coverage detected