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?
On Jan 15, 10:42am, paul%whooppee.com@localhost (Paul Goyette) wrote:
-- Subject: Re: cpu_set_t: what's the equivalent for NetBSD?
| On Thu, 15 Jan 2009, Christos Zoulas wrote:
|
| > cpuset_t *cmask = cpuset_create();
| >
| > cpuset_zero(cmask);
|
| Man page indicates that cpuset_create() will provide you a "clean" set
| to begin with, so it's superfluous to cpuset_zero() it. The code
| example in manpage for affinity() supports this.
Yes, I was just matching the original code call by call.
christos
Home |
Main Index |
Thread Index |
Old Index