Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training

    Featured resources

    • Open Source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Red Hat at the ISO C++ Standards Meeting (June 2016, Oulu): Parallelism and Concurrency

July 15, 2016
Torvald Riegel
Related topics:
Developer tools
Related products:
Developer Toolset

    Several Red Hat engineers recently attended the JTC1/SC22/WG21 C++ Standards Committee meetings in Oulu, Finland.  This post focuses on the sessions of SG1 (the standards committee sub-group 1 - for concurrency and parallelism) as well as on coroutines-related sessions. Jason already gave an overview of the meeting in his post.

    SG1 prioritized proposals and issues affecting the (expected) C++17 standard, followed by proposals targeting the Concurrency TS or a future revision of the Parallelism TS.  We also made some progress in the space of coroutines.

    The committee decided in the previous meeting to include parallel algorithms in C++17, and two changes to the parallel algorithms facilities were voted into the Committee Draft (CD) of the C++17 standard (these papers will be publicly available soon): P0394R4, which changes exception handling, and P0336R1, which changes the names of the execution policies.  We also added a small note (P0371R1) that discourages the use of memory_order_consume, thus notifying users about the state of this feature even though we have no ready replacement currently.  Other proposals (e.g., P0053 about a synchronized ostream) were not ready yet and thus will likely be considered for a future version of the standard.

    Other noteworthy developments among the 20+ proposals we discussed are the Atomic View (P0019R2) and Floating Point Atomic (P0020R2) proposals, which continue to improve but are not quite finished yet, as is
    P0214R1 on Data-Parallel Vector Types & Operations. The std::synchronic proposal (P0162R2) was not discussed at this meeting because conversations that I had with the primary author showed that we might need to tweak the interface to enable high-performance notifications.  Executors were discussed as well again this meeting, although this time the discussion was more about how to approach generally with the different proposals rather than about details of specific proposals; SG1 would like to have an executor proposal in the near future, but it is not quite obvious how to get there quickly.

    My personal highlight of this meeting was that my papers on forward progress guarantees (P0296R2 and P0299R1; the most recent revisions will be published soon) were voted into the CD.  In a nutshell, they clarify when a C++ implementation has to execute code (which differs between typical operating-system threads, parallel tasks, and vector-parallel code) and what it means for a thread to block.  I think that these are important changes, and they also allow the standard to clearly specify upcoming features in the parallelism and concurrency space (e.g., executors). From a birds-eye view, forward progress is one aspect of defining threads of execution that are more light-weight than operating-system threads.  There is a lot of interest in light-weight threads of execution because they allow programmers to use logically separate, sequential flows of control (i.e., threads of  execution) to describe concurrent or parallel execution, without incurring the runtime and space overheads of typical operating system threads.

    I also presented a revision of my coroutines / suspendable functions paper (P0073R2) in both SG1 and the language evolution working group.  In this revision, I outlined how suspendable functions could be
    integrated with schedulers (e.g., how to make schedulers aware of which condition an executing suspendable function blocks on, so that schedulers can execute threads of execution that may satisfy this condition), and showed three examples of how to use suspendable functions: a generator (slighlty revised but similar to the example included in P0073R2) , a replacement for asynchronous parallel algorithms (P0361R0), and wrapping a callback-based external API as a suspendable function. I believe this increased understanding in the committee of how the features I am proposing are supposed to work.

    We're always interested to hear what matters to Red Hat Enterprise Linux developers, so if you have comments or questions on any aspects of the upcoming C++ standards - in the concurrency area, or otherwise - please feel free to get in touch with us at rheldevelop AT redhat DOT com or Tweet @RHELdevelop.

    Last updated: March 15, 2023

    Recent Posts

    • Red Hat UBI 8 builders have been promoted to the Paketo Buildpacks organization

    • Using eBPF in Red Hat products

    • How we made one data layer serve the UI, the mocks, and the E2E tests

    • Build trusted Python containers with Project Hummingbird and Calunga

    • Simplify distributed tracing: ObservabilityInstaller installation

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility