On Nov 23, 2013, at 5:39 PM, Yann Ylavic <ylavic....@gmail.com> wrote: > > Or maybe queue_info->idlers be declared uint32_t and negatives computed > relative to 2^31 ? >
What I was thinking was simply doing an offset... There is no way we would ever use a full 32bits, signed or not, so making the "zero point" ~ 2^31 would allow us to keep the logic, without worrying about the behavior of atomics.