as in the subject... i see that td->td_critnest (used to determine whether a thread can be preempted or not) is manipulated using plain ++ or -- instruction instead of the atomic_add_int(). I wonder if declaring it as volatile and possibly its usage patterns are enough to make the two things equivalent on all architectures. cheers luigiReceived on Tue Dec 20 2005 - 10:25:40 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:49 UTC