https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66034

            Bug ID: 66034
           Summary: Enhancement request: fiber-local storage
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: a...@cloudius-systems.com
  Target Milestone: ---

As a complement to __thread and thread_local, add __fiber storage class which
is local storage for user-level threads.  User-level threads is a common
technique in high performance storage, and compiler support would be
beneficial.

On x86_64, __fiber storage can be accessed via gs:, which can be set (on newer
processors) via set setgsbase instruction in userspace.

Reply via email to