HomePhabricator

[runtime] Use getloadavg() on NetBSD as well

Description

[runtime] Use getloadavg() on NetBSD as well

Switch NetBSD from reading /proc (which is broken) to getloadavg()
(which is already used by Darwin). NetBSD discourages using procfs
in favor of system API calls.

Differential Revision: https://reviews.llvm.org/D55486

Details

Committed
mgornyDec 11 2018, 11:02 AM
Differential Revision
D55486: [openmp] [runtime] Use getloadavg() on NetBSD as well
Branches
Unknown
Tags
Unknown