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 9082609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T20:35:59+00:00 2026-06-16T20:35:59+00:00

What tools exist to help one to experiment with weakly ordered concurrency? That is,

  • 0

What tools exist to help one to experiment with weakly ordered concurrency? That is, in what sandbox can one play while teaching oneself about partial fences, weak atomics, acquire/consume/release semantics, lock-free algorithms and the like?

The tool or sandbox one wants would exercise and stress one’s weakly ordered, threaded algorithm, exposing the various ways in which the algorithm might theoretically fail. Physically running on an x86, for example, the tool would nevertheless be able to expose ARM-type failures.

An open-source tool would be preferable. Please advise.

References:

  • the C++11 draft standard (PDF, see clauses 1, 29 and 30);
  • Hans-J. Boehm’s overview of the subject;
  • McKenney, Boehm and Crowl on the subject;
  • GCC’s developmental notes on the subject;
  • the Linux kernel’s notes on the subject;
  • a related question with answers here on Stackoverflow
  • another question, this one comparing fences against atomics;
  • Cppmem (on the advice of @KerrekSB);
  • Cppmem’s help page;
  • Spin (a tool for analyzing the logical consistency of concurrent systems, on the advice of @JohnZwinck).

(The references are oriented toward C++11 because this is how I happen to have approached the subject. However, for all I know, a non-C++ answer might be best, so feel free to extend your answer beyond C++ as you see fit.)

  • 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-16T20:36:01+00:00Added an answer on June 16, 2026 at 8:36 pm

    This is quite a bit more general than what your question directly asks, but take a look at “Spin,” a “model checker” for concurrent systems. An online manual is here: http://spinroot.com/spin/Man/Manual.html

    You will probably find it to be a bit “old school” in feel, but I see no reason why it wouldn’t be suitable for the jobs you’re interested in. Since it is quite general, however, you may need to do a bit of work to teach the tool about the problem space. The good news is that it is platform-independent. The bad news is you’d probably need to model each computer architecture explicitly (Spin doesn’t intrinsically know about the guarantees of ARM vs. x86, for example). But maybe some of that work has been done elsewhere (I didn’t check), and/or you could share pieces of what you do so others may benefit. The tool is open-source, after all.

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

Sidebar

Related Questions

What UI mockup tools exist that could be used to produce designs that look
Does a tool exist that can parse text and output that text, hyper-linked to
A git tool that meets the specs below is needed. Does one already exist?
Are there any more generic tools that can compile or basically merge multiple PHP
Does anyone know of any code or tools that can strip literal values out
There exist tools for comparing code against a custom specified set of coding guidelines/standards
What kind of tools or techniques exist for this purpose?
What kind of tools and techniques exist for this purpose?
I have a web application that runs multiple websites from one codebase. I have
I've had this problem for a while, and no one I've talked to on

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.