For POSIX systems, it uses sysconf. For Windows, it uses the win32 API
directly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
This currently triggers a warning about using ui in util, so consider this a RFC for dealing with that.
nit: can fail by returning None -> if we fails to calculate the memory, None is returned.