Skip to content

Commit

Permalink
Merge branch 'lab4' of https://github.com/BitHigher/cselab into lab4
Browse files Browse the repository at this point in the history
  • Loading branch information
zhf committed Nov 26, 2012
2 parents 8f8b679 + e033dd5 commit c04c8ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion lock_client_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class lock_client_info{
typedef int status;

status state;
pthread_t tid;
pthread_cond_t cond;

lock_client_info(){
Expand Down
7 changes: 0 additions & 7 deletions lock_server_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,8 @@

class lock_info{
public:
lock_info(){
pthread_cond_init(&cond, NULL);
}
~lock_info(){
pthread_cond_destroy(&cond);
}
std::string owner;
std::string waiting;
pthread_cond_t cond;
};

class lock_server_cache {
Expand Down

0 comments on commit c04c8ac

Please sign in to comment.