Re: [PATCH v2 12/12] linux-user: fix clock_nanosleep()

2020-07-22 Thread Laurent Vivier
Le 22/07/2020 à 10:55, Alex Bennée a écrit : > > Laurent Vivier writes: > >> Le 22/07/2020 à 08:29, Alex Bennée a écrit : >>> From: Laurent Vivier >>> >>> If clock_nanosleep() encounters an error, it returns one of the positive >>> error number. >>> >>> If the call is interrupted by a signal ha

Re: [PATCH v2 12/12] linux-user: fix clock_nanosleep()

2020-07-22 Thread Alex Bennée
Laurent Vivier writes: > Le 22/07/2020 à 08:29, Alex Bennée a écrit : >> From: Laurent Vivier >> >> If clock_nanosleep() encounters an error, it returns one of the positive >> error number. >> >> If the call is interrupted by a signal handler, it fails with error EINTR >> and if "remain" is

Re: [PATCH v2 12/12] linux-user: fix clock_nanosleep()

2020-07-22 Thread Laurent Vivier
Le 22/07/2020 à 08:49, Laurent Vivier a écrit : > Le 22/07/2020 à 08:29, Alex Bennée a écrit : >> From: Laurent Vivier >> >> If clock_nanosleep() encounters an error, it returns one of the positive >> error number. >> >> If the call is interrupted by a signal handler, it fails with error EINTR >>

Re: [PATCH v2 12/12] linux-user: fix clock_nanosleep()

2020-07-22 Thread Philippe Mathieu-Daudé
On 7/22/20 8:29 AM, Alex Bennée wrote: > From: Laurent Vivier > > If clock_nanosleep() encounters an error, it returns one of the positive > error number. > > If the call is interrupted by a signal handler, it fails with error EINTR > and if "remain" is not NULL and "flags" is not TIMER_ABSTIME,

Re: [PATCH v2 12/12] linux-user: fix clock_nanosleep()

2020-07-21 Thread Laurent Vivier
Le 22/07/2020 à 08:29, Alex Bennée a écrit : > From: Laurent Vivier > > If clock_nanosleep() encounters an error, it returns one of the positive > error number. > > If the call is interrupted by a signal handler, it fails with error EINTR > and if "remain" is not NULL and "flags" is not TIMER_AB

[PATCH v2 12/12] linux-user: fix clock_nanosleep()

2020-07-21 Thread Alex Bennée
From: Laurent Vivier If clock_nanosleep() encounters an error, it returns one of the positive error number. If the call is interrupted by a signal handler, it fails with error EINTR and if "remain" is not NULL and "flags" is not TIMER_ABSTIME, it returns the remaining unslept time in "remain".