Traffic Server
  1. Traffic Server
  2. TS-618

Eliminate our "custom" atomic assembler


    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.5
    • Component/s: Core
    • Labels:


      We mostly depend on the compilers and/or libc to provide atomic primitives. We have a custom assembler file, which does the same, but only for Intel, and only for 32-bit platforms. It's not well maintained, and causes more confusion than good. I'm suggesting we eliminate this, and going forward, require that the compiler and/or libc provides the atomic functions that we rely on.

      What does this mean? It means we require one of the following

      • GCC v4.1.2 or later
      • Intel CC v9 (or any other version that's compatible with GCC 4.1.2 or later)
      • Fairly new builds of clang / llvm (it is compatible with gcc)
      • Solaris libc / SunPRO compilers.


        Leif Hedstrom created issue -
        Leif Hedstrom made changes -
        Field Original Value New Value
        Assignee Leif Hedstrom [ zwoop ]
        Leif Hedstrom made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Leif Hedstrom made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        3h 49m 1 Leif Hedstrom 04/Jan/11 21:35
        Resolved Resolved Closed Closed
        20d 7h 32m 1 Leif Hedstrom 25/Jan/11 05:08


          • Assignee:
            Leif Hedstrom
            Leif Hedstrom
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: