Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1333

Make RWGuard not copyable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.8
    • C++ - Library
    • None

    Description

      From aca289c602251bbfe7f6543ce037ac795be273e0 Mon Sep 17 00:00:00 2001
      From: Jordan DeLong <jdelong@fb.com>
      Date: Tue, 20 Apr 2010 19:35:56 +0000
      Subject: [PATCH 29/33] Make RWGuard not copyable

      Summary:
      Copying this class would cause its contained mutex to
      unlock twice. Mark it noncopyable.

      Test Plan:
      Compiled [internal fb thing].

      Revert Plan:
      OK


      lib/cpp/src/concurrency/Mutex.h | 2 +-
      1 files changed, 1 insertions, 1 deletions

      Attachments

        Activity

          People

            Unassigned Unassigned
            davejwatson@fb Dave Watson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: