MCPcopy Create free account
hub / github.com/F-Stack/f-stack / getIOPendingCount

Function getIOPendingCount

app/redis-6.2.6/src/networking.c:3453–3457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3451list *io_threads_list[IO_THREADS_MAX_NUM];
3452
3453static inline unsigned long getIOPendingCount(int i) {
3454 unsigned long count = 0;
3455 atomicGetWithSync(io_threads_pending[i], count);
3456 return count;
3457}
3458
3459static inline void setIOPendingCount(int i, unsigned long count) {
3460 atomicSetWithSync(io_threads_pending[i], count);

Calls

no outgoing calls

Tested by

no test coverage detected