Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-167

Standardize on boost::mutex rather than custom wrappers in mutex.h

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • legacy-0.8.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      src/mongo/util/concurrency/mutex.h describes several mutex classes that are similar to boost::mutex, or implemented in terms of it.

      There is no clear advantage to these classes in the C++ driver codebase, and we could possibly standardize on boost::mutex here. Risk is that it creates a lot of point divergences from the server code, upside is that we drop one more set of platform dependent code and push that out to boost (or C++11 when we pick that up).

            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: