MCPcopy Create free account
hub / github.com/acl-dev/acl / servers_alloc

Function servers_alloc

lib_fiber/cpp/src/fiber_server.cpp:763–774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761}
762
763static FIBER_SERVER **servers_alloc(int nthreads, int socket_count, int fdtype)
764{
765 FIBER_SERVER **servers = (FIBER_SERVER **)
766 acl_mycalloc(nthreads + 1, sizeof(FIBER_SERVER*));
767 int i;
768
769 for (i = 0; i < nthreads; i++) {
770 servers[i] = server_alloc(socket_count, fdtype);
771 }
772
773 return servers;
774}
775
776#if !defined(_WIN32) && !defined(_WIN64)
777static void server_daemon_open(FIBER_SERVER *server, int n)

Callers 2

servers_daemonFunction · 0.70
servers_openFunction · 0.70

Calls 1

server_allocFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…