Leonidas . wrote:> > any_t *ptr = something;> > is always atomic even on SMPs without using locks, barriers then my> doubt is cleared. Thanks.I assume that this only holds if the pointer (not the thing it pointsto) is denoted as volatile.-Michael