cpuset(3; netbsd) or CPU_SET(3; linux) equivalent for DragonFly

Venkatesh Srinivas me at endeavour.zapto.org
Sat Nov 2 22:21:38 PDT 2013


On Sat, Nov 2, 2013 at 10:12 PM, Ryo ONODERA <ryo_on at yk.rim.or.jp> wrote:
> Hi,
>
> I had build firefox 25.0 from pkgsrc on DragonFly 3.4.1.
> I have gotten error about cpuset related stuff are not defined.
>
> gfx/skia/src/utils/SkThreadUtils_pthread_linux.cpp
> uses Linux cpuset(7) macros.
> For NetBSD, I can use cpuset(3) functions.
> Linux: http://man7.org/linux/man-pages/man3/CPU_SET.3.html
> NetBSD: http://netbsd.gw.com/cgi-bin/man-cgi?cpuset++NetBSD-current
>
> Does DragonFly have cpuset equivalent macros/functions?

usched_set() with SCHED_SET_CPU / SCHED_ADD_CPU as the second parameter. .

Regards,
-- vs;



More information about the Users mailing list