lua-users home
lua-l archive

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


On Mon, Oct 16, 2006 at 03:01:38PM -0400, Ralph Hempel wrote:
> Yes, but if the thread with this code is reading in between
> the non-atomic write of the other thread, are we not back where we
> started? :-)

True.  Just waking up.  I'm uncomfortable with relying on atomic_t,
though.  I've never actually heard of it being a standard type, or
seen it in any code outside of the Linux kernel, and that defines
it itself.

-- 
Glenn Maynard