Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cpu_set_t: what's the equivalent for NetBSD?



Hello,

Thomas Klausner <wiz%NetBSD.org@localhost> wrote:
> Can someone please tell me how the following code should be rewritten
> for NetBSD?
> 
> I tried replacing cpu_set_t with cpuset_t, but then the size wasn't
> known for cmask, and CPU_ZERO and CPU_SET don't exist.

It is documented in the cpuset(3) and affinity(3) manuals. The later has
a code example.

-- 
Best regards,
Mindaugas


Home | Main Index | Thread Index | Old Index