> > I wonder if this isn't the problem with expect. > > Dave On another note, if expect calls code that uses atomic_add, compare_and_swap, and exchange_and_add, they are currently generic and not guaranteed to be atomic under any situation. See atomicity.h. Damn, I should really get around to implementing these. c.