Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2017-03-21 22:17:42 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2017-03-28 00:03:58 +0300
commitd0a359f6d2aa1f6253c96b10f710d9cb321e7600 (patch)
treef938171cac854a2ded8e02b0f0ebe7e56734e81a /winsup/cygwin/common.din
parentb568f92c505aaa923160eca93935995dd6b88b16 (diff)
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/common.din')
-rw-r--r--winsup/cygwin/common.din1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din
index f23681308..8e54a7ddd 100644
--- a/winsup/cygwin/common.din
+++ b/winsup/cygwin/common.din
@@ -624,6 +624,7 @@ gethostname = cygwin_gethostname SIGFE
getifaddrs SIGFE
getitimer SIGFE
getline = __getline SIGFE
+getloadavg SIGFE
getlogin NOSIGFE
getlogin_r NOSIGFE
getmntent SIGFE