summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/cygwin/version.h
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2017-03-21 19:17:42 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2017-03-27 22:03:58 +0100
commitd0a359f6d2aa1f6253c96b10f710d9cb321e7600 (patch)
treef938171cac854a2ded8e02b0f0ebe7e56734e81a /winsup/cygwin/include/cygwin/version.h
parentb568f92c505aaa923160eca93935995dd6b88b16 (diff)
downloadcygnal-d0a359f6d2aa1f6253c96b10f710d9cb321e7600.tar.gz
cygnal-d0a359f6d2aa1f6253c96b10f710d9cb321e7600.tar.bz2
cygnal-d0a359f6d2aa1f6253c96b10f710d9cb321e7600.zip
Implement getloadavg()
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 child Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Diffstat (limited to 'winsup/cygwin/include/cygwin/version.h')
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 6ca307961..298741a4b 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -473,12 +473,13 @@ details. */
306: Export getentropy, getrandom.
307: Export timingsafe_bcmp, timingsafe_memcmp.
308: Export dladdr.
+ 309: Export getloadavg.
Note that we forgot to bump the api for ualarm, strtoll, strtoull,
sigaltstack, sethostname. */
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 308
+#define CYGWIN_VERSION_API_MINOR 309
/* There is also a compatibity version number associated with the shared memory
regions. It is incremented when incompatible changes are made to the shared