Signed-off-by: Phan Le <email@example.com>
If ticker ticks before consumer reads from values channel CollectCpuStats will block. Signed-off-by: Maria Shaldibina <firstname.lastname@example.org>
Signed-off-by: Phan Le <email@example.com>
…p and FreeSwap to uint64." This reverts commit d368400. Reverting due to missing CLA
…eeSwap to uint64.
…e not long enough
On Snow Leopard mach/mach_init.h has a function decl for mach_task_self, yet later redefines as a macro to return the mach_task_self_ variable. Newer systems have removed the function and since cgo doesn't handle macros, compile fails: "error: 'mach_task_self' undeclared ..." Change-Id: I8d28a9c7609656f2cbdee5588e6a4c337599ac2c