79334788

Date: 2025-01-07 02:44:25
Score: 0.5
Natty:
Report link

Because you have to pass the value to futex_wait anyway, you might as well do another opportunistic check there.

The futex_wait system call will suspend the thread only if the value of *mutex hasn't changed from v.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zack Light