fa.netbsd.current-users
[Top] [All Lists]

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

Subject: Re: cpu_set_t: what's the equivalent for NetBSD?
From: Christos Zoulas
Date: Thu, 15 Jan 2009 20:12:43 UTC
Newsgroups: fa.netbsd.current-users

On Jan 15, 10:42am, paul@xxxxxxxxxxxx (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

<Prev in Thread] Current Thread [Next in Thread>