Re: [PATCH] Implement getloadavg() [v3]

2017-03-27 Thread Corinna Vinschen
On Mar 27 16:10, Jon Turney wrote: > v2: > autoload PerfDataHelper functions > Keep loadavg in shared memory > Guard loadavg access by a mutex > Initialize loadavg to the current load > > v3: > Shared memory version bump isn't needed if we are only extending it > Remove unused autoload > Mark init

Re: [PATCH] declaration of ppoll() by poll.h should be guarded by _GNU_SOURCE

2017-03-27 Thread Corinna Vinschen
On Mar 27 16:04, Jon Turney wrote: > Signed-off-by: Jon Turney > --- > winsup/cygwin/include/sys/poll.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/winsup/cygwin/include/sys/poll.h > b/winsup/cygwin/include/sys/poll.h > index 8228278..0da4c3f 100644 > --- a/winsup/cygwin/include/

[PATCH] Implement getloadavg() [v3]

2017-03-27 Thread Jon Turney
v2: autoload PerfDataHelper functions Keep loadavg in shared memory Guard loadavg access by a mutex Initialize loadavg to the current load v3: Shared memory version bump isn't needed if we are only extending it Remove unused autoload Mark inititalized flags as NO_COPY for correct behaviour in fork

[PATCH] declaration of ppoll() by poll.h should be guarded by _GNU_SOURCE

2017-03-27 Thread Jon Turney
Signed-off-by: Jon Turney --- winsup/cygwin/include/sys/poll.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/cygwin/include/sys/poll.h b/winsup/cygwin/include/sys/poll.h index 8228278..0da4c3f 100644 --- a/winsup/cygwin/include/sys/poll.h +++ b/winsup/cygwin/include/sys/poll.h @@ -