On Wed, 2003-11-05 at 01:51, Yao, Zhigang(Richard) wrote: > Hi, > > I want to do the atomic operation ( such as i++ ) in user space, can I copy > and include include/XXX/atomic.h directly? the answer is no. If you do that the operations aren't guaranteed to be atomic (and probably arent even on x86) However glibc has primitives for this instead, as do helper libraries like apr etc etc
Attachment:
signature.asc
Description: This is a digitally signed message part