Re: You can't get rid of the time checks unless you want to
I haven't used a futex before, but I used mutexes a lot. The point of them was for the thread to relinquish the processor until a or one of a number of events occurred, when it could pick up in the proper place and carry out its task. The whole point was to make the cycles available to other threads or processes. If you gave the mutex a time, it was so the mutex wouldn't hang forever. The timer wasn't exact but it would give you an event shortly after the specified time. futexes must be seriously different.