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

Ryo ONODERA ryo_on at yk.rim.or.jp
Sat Nov 2 22:36:25 PDT 2013


Hi,

From: Venkatesh Srinivas <me at endeavour.zapto.org>, Date: Sat, 2 Nov 2013 22:21:38 -0700

> 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. .

I will investigate usched_set(2).
http://leaf.dragonflybsd.org/cgi/web-man?command=usched_set&section=2

Thank you.

--
Ryo ONODERA // ryo_on at yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3



More information about the Users mailing list