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

Function futex

src/fastlock.cpp:199–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197
198#ifdef __linux__
199static int futex(volatile unsigned *uaddr, int futex_op, int val,
200 const struct timespec *timeout, int val3)
201{
202 return syscall(SYS_futex, uaddr, futex_op, val,
203 timeout, uaddr, val3);
204}
205#endif
206
207class DeadlockDetector

Callers 3

registerwaitMethod · 0.85
fastlock_sleepFunction · 0.85
unlock_futexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected