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

Function dist_worker_upstream_init

ds4_distributed.c:6296–6305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6294 pthread_mutex_unlock(&upstream->write_mu);
6295 return rc;
6296}
6297
6298static int dist_worker_upstream_send_work_error(
6299 ds4_dist_worker_upstream *upstream,
6300 uint64_t request_id,
6301 const char *msg) {
6302 pthread_mutex_lock(&upstream->write_mu);
6303 int rc = dist_send_work_error(upstream->fd, request_id, msg);
6304 pthread_mutex_unlock(&upstream->write_mu);
6305 return rc;
6306}
6307
6308static void dist_worker_upstream_init(

Callers 2

dist_worker_read_loopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected