Hi,

On Thu, Dec 22, 2011 at 10:59 PM, Alexander Strange
<[email protected]>wrote:

> On Thu, Dec 22, 2011 at 3:22 PM, Janne Grunau <[email protected]>
> wrote:
> > Use sched_getaffinity to determine the number of logical CPUs.
>
> Try sysconf(_SC_NPROCESSORS_ONLN), which exists on BSD too.


We could use that as a fallback - someone suggested sched_getaffinity()
would work better on Linux.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to