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

Configure boost thread to more closely model the standard

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.5
    • Affects Version/s: None
    • Component/s: Internal Code, Performance
    • None
    • Fully Compatible
    • Platform 5 06/26/16

      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.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: