Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9290611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T20:27:39+00:00 2026-06-18T20:27:39+00:00

1.10/6: All modifications to a particular atomic object M occur in some particular total

  • 0

1.10/6:

All modifications to a particular atomic object M occur in some particular total order, called the modification
order of M.

Do non-atomic objects also have same modification order in all threads? I am interested in properly synchronized cases (in absence of data races, etc).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T20:27:41+00:00Added an answer on June 18, 2026 at 8:27 pm

    You need to have synchronization between all participating threads.

    If you have one (or more) thread(s) updating a non-atomic value (with any amount of synchronizing operations among their group) and another thread reading that value (without synchronizing with any updater threads), you are not even guaranteed that you will read one of the values the other threads have stored.

    Generally, if one thread updates a non-atomic variable and another accesses (updates or reads) it without proper synchronization between these two operations, you have a data race. A data race causes undefined behavior.

    If you “properly synchronize” accesses to a non-atomic variable, you will have a happens-before relationship between any modification and any access in another (or of course the same) thread. This includes the relationship between any two modifications.

    That happens-before relationship is valid across all threads and induces a total order between modifications. So, yes: properly synchronized use gives you a total modification order (which even is the same for all variables synchronized using the same synchronizing operations).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi all i have written a small code to open a particular text file.
I have a need to do some simple modifications to HTML in C++, preferably
I have made all my modifications in my branch and going to another branch(or
I'd like to list out all files with modification dates in the last n
All -- I have these two methods in one of my classes: public static
all. We're trying to get some intersect collisions working, but the problem experience is
What git command will display a list of all committed modifications, one modified file
I have been playing around with Apache CXF, in particular the various data bindings
Okay, I have been grasping as all sorts of solutions to my problems with
Assuming that I have objects similar to this: public class User { public int

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.