mirror of https://git.musl-libc.org/git/musl
Browse Source
the new absolute-time-based wait kernelside was hard to get right and basically just code duplication. it could only improve "performance" when waiting, and even then, the improvement was just slight drop in cpu usage during a wait. actually, with vdso clock_gettime, the "old" way will be even faster than the "new" way if the time has already expired, since it will not invoke any syscalls. it can determine entirely in userspace that it needs to return ETIMEDOUT.rs-1.0
1 changed files with 28 additions and 31 deletions
Loading…
Reference in new issue