equal
deleted
inserted
replaced
777 } |
777 } |
778 |
778 |
779 bool ThreadsSMRSupport::delete_notify() { |
779 bool ThreadsSMRSupport::delete_notify() { |
780 // Use load_acquire() in order to see any updates to _delete_notify |
780 // Use load_acquire() in order to see any updates to _delete_notify |
781 // earlier than when delete_lock is grabbed. |
781 // earlier than when delete_lock is grabbed. |
782 return (OrderAccess::load_acquire(&_delete_notify) != 0); |
782 return (Atomic::load_acquire(&_delete_notify) != 0); |
783 } |
783 } |
784 |
784 |
785 // Safely free a ThreadsList after a Threads::add() or Threads::remove(). |
785 // Safely free a ThreadsList after a Threads::add() or Threads::remove(). |
786 // The specified ThreadsList may not get deleted during this call if it |
786 // The specified ThreadsList may not get deleted during this call if it |
787 // is still in-use (referenced by a hazard ptr). Other ThreadsLists |
787 // is still in-use (referenced by a hazard ptr). Other ThreadsLists |