manually "shrink wrap" fast path in pthread_once
this change is a workaround for the inability of current compilers to perform "shrink wrapping" optimizations. in casual testing, it roughly doubled the performance of pthread_once when called on an already-finished once control object.
Showing
想要评论请 注册 或 登录