This generates much nicer assembly as it does not have to read thread pointer for every access to TCB (errno, cancel_state, cancelled) and instead it can read it once and use the same value for all accesses
This generates much nicer assembly as it does not have to read thread pointer for every access to TCB (errno, cancel_state, cancelled) and instead it can read it once and use the same value for all accesses