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> (cherry picked from commit 3a50918d) Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Showing
Please register or sign in to comment