MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / connGetState

Function connGetState

src/connection.cpp:454–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454int connGetState(connection *conn) {
455 return conn->state.load(std::memory_order_relaxed);
456}
457
458void connSetThreadAffinity(connection *conn, int cpu) {
459#ifdef HAVE_SO_INCOMING_CPU

Callers 14

clusterConnAcceptHandlerFunction · 0.85
clusterAcceptHandlerFunction · 0.85
clusterReadHandlerFunction · 0.85
sendBulkToSlaveFunction · 0.85
rdbPipeWriteHandlerFunction · 0.85
rdbPipeReadHandlerFunction · 0.85
readSnapshotBulkPayloadFunction · 0.85
readSyncBulkPayloadRdbFunction · 0.85
syncWithMasterFunction · 0.85
clientAcceptHandlerFunction · 0.85
acceptCommonHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected