thread: Simplify vlc_GetCPUCount / add FreeBSD/NetBSD support
Looking at the current vlc_GetCPUCount() function this can be simplified.
The sysconf(4) variable _SC_NPROCESSORS_CONF is available for OS X and OpenBSD.
The change as is also adds FreeBSD and NetBSD support to vlc_GetCPUCount().
Signed-off-by: Rafaël Carré <funman@videolan.org>
Showing
Please register or sign in to comment