[vlc-devel] [PATCH] thread: Simplify vlc_GetCPUCount / add FreeBSD/NetBSD support

Rafaël Carré funman at videolan.org
Sun Jan 29 02:18:07 CET 2012


Le 2012-01-28 20:10, Brad a écrit :
> On 28/01/12 7:07 PM, Rafaël Carré wrote:
>> Le 2012-01-28 17:05, Brad a écrit :
>>> Looking at the current vlc_GetCPUCount() function this can be simplified. The
>>> sysconf(3) variable is available for OS X and OpenBSD. The change as is also
>>> adds FreeBSD and NetBSD support to vlc_GetCPUCount().
> 
> I meant to say... The sysconf(4) variable _SC_NPROCESSORS_CONF is 
> available for...

Applied with changed comment, thanks!



More information about the vlc-devel mailing list