[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

missing sysinfo () and SI_LOAD_SHIFT



Hi!

Jeff might have hit this problem already, but anyway:

wanna-build is broken due to its use of Linux-specific sysinfo () and
SI_LOAD_SHIFT.

any suggestions? we could:

 - implement a sysinfo () that is compatible with GNU/Linux
 - #ifndef SI_LOAD_SHIFT, use a hardcoded sleep time in wanna-build
   (it was used to calculate a time to sleep depending on the system load)
 - use a standard facility to obtain the system load. anyone knows
   which one? maybe sysconf ()?

-- 
Robert Millan



Reply to: