On Fri, May 05, 2006 at 11:53:24AM -0700, Alexander Kolbasov wrote: > > Or a ::cpuset built on top of a ::bitset that takes a size parameter. I also > > need an equivalent of CPUSET_FIND, so it'd be good if there was an internal > > API > > that could cope with all of these, and a couple of commands built on top. > > What should CPUSET_FIND (or its analog) do? Find any bit in the set?
Specifically, the first bit in the set (it's used in our case for something where only one bit will be set). > With the discussion above it seems that we need something like > > ::bitset [-w word_size] [-l nwords] [-a] > > I hope that by default it is possible to figure out both using CTF data. I'm a bit confused over the need for -w. > Sounds reasonable? The real issue here is what's provided as an internal API, I think, though your user API sounds OK. regards john