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

Function dist_role_name

ds4_distributed.c:534–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532}
533
534static const char *dist_role_name(ds4_distributed_role role) {
535 switch (role) {
536 case DS4_DISTRIBUTED_NONE: return "none";
537 case DS4_DISTRIBUTED_COORDINATOR: return "coordinator";
538 case DS4_DISTRIBUTED_WORKER: return "worker";
539 }
540 return "unknown";
541}
542
543static void dist_sleep_reconnect(void) {
544 sleep(1);

Callers 1

dist_validate_optionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected