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

Remove RecursiveMutex

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

      The RecursiveMutex class in mutex.h is unused in the driver, but causes the threadlocal.h header to be needed as a user visible include which in turn would require the configuration #define's for threadlocal.h to be part of a future config.h

      Since RecursiveMutex is unused, we should just remove it from mutex.h in our tree.

      Longer term, we should consider whether we want to remove almost all of mutex.h and just standardize on boost::mutex in the driver. The hand rolled mutex classes are almost certainly not advantageous in the driver.

            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: