* Callback function for Cache_delayed_process_queue. */
| 1360 | * Callback function for Cache_delayed_process_queue. |
| 1361 | */ |
| 1362 | static void Cache_delayed_process_queue_callback(void *ptr) |
| 1363 | { |
| 1364 | CacheEntry_t *entry; |
| 1365 | (void) ptr; /* Unused */ |
| 1366 | |
| 1367 | while ((entry = (CacheEntry_t *)dList_nth_data(DelayedQueue, 0))) { |
| 1368 | Cache_ref_data(entry); |
| 1369 | if ((entry = Cache_process_queue(entry))) { |
| 1370 | Cache_unref_data(entry); |
| 1371 | dList_remove(DelayedQueue, entry); |
| 1372 | } |
| 1373 | } |
| 1374 | DelayedQueueIdleId = 0; |
| 1375 | a_Timeout_remove(); |
| 1376 | } |
| 1377 | |
| 1378 | /** |
| 1379 | * Set a call to Cache_process_queue from the main cycle. |
nothing calls this directly
no test coverage detected