On 19/01/20(Sun) 14:44, Martin Pieuchot wrote:
> On 18/01/20(Sat) 14:16, Martin Pieuchot wrote:
> > When futex(2) got imported it didn't return ECANCELED. This was changed
> > later with futex-based semaphores.
> >
> > This modification introduced a behavior change in pthread_cond_*wait(3).
> >
On 18/01/20(Sat) 14:16, Martin Pieuchot wrote:
> When futex(2) got imported it didn't return ECANCELED. This was changed
> later with futex-based semaphores.
>
> This modification introduced a behavior change in pthread_cond_*wait(3).
> The diff below restores the previous behavior by treating
When futex(2) got imported it didn't return ECANCELED. This was changed
later with futex-based semaphores.
This modification introduced a behavior change in pthread_cond_*wait(3).
The diff below restores the previous behavior by treating ECANCELED like
EINTR.
Note that the __thrsleep(2) version