MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / RegisterClientFd

Function RegisterClientFd

src/platform/linux/http_server.cpp:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66static std::unordered_map<BlobKey, std::vector<uint8_t>, BlobKeyHash> g_memBlobs;
67
68static void RegisterClientFd(int fd) {
69 std::lock_guard<std::mutex> lock(g_clientFdMutex);
70 g_clientFds.insert(fd);
71}
72
73static void UnregisterClientFd(int fd) {
74 std::lock_guard<std::mutex> lock(g_clientFdMutex);

Callers 1

StartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected