MCPcopy Create free account
hub / github.com/antirez/ds4 / dist_worker_forwarder_close_queue

Function dist_worker_forwarder_close_queue

ds4_distributed.c:6418–6423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6416 ds4_dist_pending_request *it = forwarder->pending_head;
6417 forwarder->pending_head = NULL;
6418 forwarder->pending_tail = NULL;
6419 forwarder->pending_count = 0;
6420 pthread_cond_broadcast(&forwarder->queue_not_full);
6421 pthread_mutex_unlock(&forwarder->queue_mu);
6422
6423 while (it) {
6424 ds4_dist_pending_request *next = it->next;
6425 free(it);
6426 it = next;

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected