Thrift: standardize coding style

Summary: Standardize indentation, spacing, #defines etc.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664784 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/Mutex.h b/lib/cpp/src/concurrency/Mutex.h
index 20d4c0b..9eceb49 100644
--- a/lib/cpp/src/concurrency/Mutex.h
+++ b/lib/cpp/src/concurrency/Mutex.h
@@ -1,39 +1,31 @@
-#if !defined(_concurrency_mutex_h_)
-#define _concurrency_mutex_h_ 1
+#ifndef _THRIFT_CONCURRENCY_MUTEX_H_
+#define _THRIFT_CONCURRENCY_MUTEX_H_ 1
 
 namespace facebook { namespace thrift { namespace concurrency { 
 
-/**  A simple mutex class
-
-     @author marc
-     @version $Id:$ */
-
+/**
+ * A simple mutex class
+ *
+ * @author marc
+ * @version $Id:$
+ */
 class Mutex {
-
  public:
-
   Mutex();
-
   virtual ~Mutex() {}
-
   virtual void lock() const;
-
   virtual void unlock() const;
 
  private:
-
   class impl;
-
   impl* _impl;
 };
 
 class MutexMonitor {
- public:
-  
+ public: 
   MutexMonitor(const Mutex& value) : _mutex(value) {
     _mutex.lock();
   }
-
   ~MutexMonitor() {
     _mutex.unlock();
   }
@@ -45,4 +37,4 @@
 
 }}} // facebook::thrift::concurrency
 
-#endif // !defined(_concurrency_mutex_h_)
+#endif // #ifndef _THRIFT_CONCURRENCY_MUTEX_H_