MCPcopy Create free account
hub / github.com/dillo-browser/dillo / Cache_delayed_process_queue

Function Cache_delayed_process_queue

src/cache.c:1381–1392  ·  view source on GitHub ↗

* Set a call to Cache_process_queue from the main cycle. */

Source from the content-addressed store, hash-verified

1379 * Set a call to Cache_process_queue from the main cycle.
1380 */
1381static void Cache_delayed_process_queue(CacheEntry_t *entry)
1382{
1383 /* there's no need to repeat entries in the queue */
1384 if (!dList_find(DelayedQueue, entry))
1385 dList_append(DelayedQueue, entry);
1386
1387 if (DelayedQueueIdleId == 0) {
1388 _MSG(" Setting timeout callback\n");
1389 a_Timeout_add(0.0, Cache_delayed_process_queue_callback, NULL);
1390 DelayedQueueIdleId = 1;
1391 }
1392}
1393
1394/**
1395 * Last Client for this entry?

Callers 1

a_Cache_open_urlFunction · 0.85

Calls 3

dList_findFunction · 0.85
dList_appendFunction · 0.85
a_Timeout_addFunction · 0.85

Tested by

no test coverage detected