Skip to content

Commit

Permalink
Mutex.h should not include Thread.h
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuo committed Jul 1, 2011
1 parent 638b50a commit d30cd15
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions muduo/base/Mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,18 @@
#ifndef MUDUO_BASE_MUTEX_H
#define MUDUO_BASE_MUTEX_H

#include <muduo/base/Thread.h>

#include <boost/noncopyable.hpp>
#include <assert.h>
#include <pthread.h>

namespace muduo
{

namespace CurrentThread
{
pid_t tid();
}

class MutexLock : boost::noncopyable
{
public:
Expand Down

0 comments on commit d30cd15

Please sign in to comment.