)]}'
{
  "commit": "eaa61e43630c68ee2e98f7b649047e45c524f9d8",
  "tree": "c0aac25d067e39e31e0f5e6bcbb5b9ca378e7356",
  "parents": [
    "97264864df4e7c14d8a4323af6ad37e726c52ef9"
  ],
  "author": {
    "name": "David Reiss",
    "email": "dreiss@apache.org",
    "time": "Thu Dec 20 21:42:05 2007 +0000"
  },
  "committer": {
    "name": "David Reiss",
    "email": "dreiss@apache.org",
    "time": "Thu Dec 20 21:42:05 2007 +0000"
  },
  "message": "Thrift: A hack to prevent incorrect usage of Mutex Guards.\n\nReviewed By: boz\n\nTest Plan:\ndreiss@dreiss-vmware:safe_concurrency:thrift/test$ nl -ba guard_test.cc\n     1  #include \"../lib/cpp/src/concurrency/Mutex.h\"\n     2  using facebook::thrift::concurrency::Guard;\n     3  void test() {\n     4    facebook::thrift::concurrency::Mutex m;\n     5    Guard(m);\n     6    Guard g1(m);\n     7\n     8    facebook::thrift::concurrency::ReadWriteMutex rwm;\n     9    facebook::thrift::concurrency::RWGuard(m);\n    10    facebook::thrift::concurrency::RWGuard g2(rwm);\n    11  }\ndreiss@dreiss-vmware:safe_concurrency:thrift/test$ g++ -c guard_test.cc\nguard_test.cc: In function ‘void test()’:\nguard_test.cc:5: error: ‘incorrect_use_of_Guard’ was not declared in this scope\nguard_test.cc:9: error: ‘incorrect_use_of_RWGuard’ is not a member of ‘facebook::thrift::concurrency’\ndreiss@dreiss-vmware:safe_concurrency:thrift/test$\n\nRevert Plan: ok\n\n\ngit-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665402 13f79535-47bb-0310-9956-ffa450edef68\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7594339630330e3e22e3392c928a748fcc62d42c",
      "old_mode": 33188,
      "old_path": "lib/cpp/src/concurrency/Mutex.h",
      "new_id": "f3c7cd0c9560137ca0dbd1a2344105cd2a923d15",
      "new_mode": 33188,
      "new_path": "lib/cpp/src/concurrency/Mutex.h"
    }
  ]
}
