Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19029

Configure boost thread to more closely model the standard

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.5
    • Component/s: Internal Code, Performance
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Platform 5 06/26/16

      Description

      Currently, we build boost thread with interruption points enabled, which slows some concurrency primitives.

      We also build it to deal with broken libc that returns EAGAIN from pthread_mutex_lock. We don't believe we have any platforms where that occurs, because SimpleMutex doesn't special case that outcome.

      We should apply the BOOST defines that disable interruption and assume a conforming pthread_mutex_ subsystem.

        Attachments

          Activity

            People

            Assignee:
            acm Andrew Morrow
            Reporter:
            acm Andrew Morrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: