Add an outer loop in mbpfan.c:retrieve_sensors to loop over all coretemp
directories. Also increase hard-coded limits from 10 to 12 or 16 since
the temp endpoints are sometimes indexed that high.
For example, this is required for supporting a Mac Pro with two processors
of 16 cores, requiring
/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp{1..12}
/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp{1..12}
Fixes#152.
This allows the kernel scheduler to coalesce wakeups, improving
battery life. Linux defaults to 50 ms slack. Reference:
http://lwn.net/Articles/369549/
modified: AUTHORS
Updated personal info.
modified: Makefile
Beginning work to clean up Makefile. The original makefile appeared
to be checking if the system was Windows NT. Since this is for GNU/
Linux, that was removed. Also all of the code is C, but the
Makefile was calling the C++ compiler to hide bool issues and
missing typedefs (which C++ is ok with but C is not).
modified: src/daemon.c
Added structs, added stdbool.h
modified: src/main.c
Added stdbool.h
modified: src/mbpfan.c
Added stdbool.h
modified: src/minunit.c
Added stdbool.h