From 4dc191646750a15c7f92f945816b59cd91c5728c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 22 Jan 2009 02:16:53 +0100 Subject: add API pa_ncpus() --- src/pulsecore/core-util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pulsecore/core-util.h') diff --git a/src/pulsecore/core-util.h b/src/pulsecore/core-util.h index 44b3af32..18901f47 100644 --- a/src/pulsecore/core-util.h +++ b/src/pulsecore/core-util.h @@ -213,4 +213,6 @@ static inline pa_bool_t pa_in_valgrind(void) { unsigned pa_gcd(unsigned a, unsigned b); void pa_reduce(unsigned *num, unsigned *den); +unsigned pa_ncpus(void); + #endif -- cgit