Source-Changes-D archive

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

Re: CVS commit: src



On Jul 19, 2013, at 12:19 AM, Jukka Ruohonen <jruohonen%iki.fi@localhost> wrote:

> On Wed, Jul 17, 2013 at 10:36:26PM +0000, Matt Thomas wrote:
>> Log Message:
>> Some constification.
>> Add kcpuset_clone, kcpuset_insersection, kcpuset_remove,
>> kcpuset_ffs, kcpuset_ffs_intersecting,
>> kcpuset_atomicly_merge, kcpuset_atomicly_intersect, kcpuset_atomicly_remove
> 
> A small nit: kcpuset_atomic_set() vs. kcpuset_atomicly_*() makes the API
> look a little inconsistent...  I don't know which is right in terms of
> grammar, but the atomic_*()-versions appear to be the de facto standard.

There is a reason for the difference.

the atomic_{set,cler} are actually atomic.

the atomicly use atomic operation but since they work word-by-word
they aren't truly atomic.


Home | Main Index | Thread Index | Old Index