I'd have preferred if vtable.futexWait returned error.Timeout, since all the OS-level APIs provide it. However, if I keep the vtable untouched, I had to determine the timeout case by post-checking the deadline. It's fine functionally, but one extra syscall that be avoided at cost of changing the vtable and all the futex implementations.
Don't worry, I've used no LLM for this, I took the time to hand-write this.