From f041f45353b3f0ad2d6c0a4cb18ce44e0afd2205 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 11 Sep 2005 20:06:54 +0000 Subject: [PATCH] Unused code removed in test server --- src/t-server.cpp | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/src/t-server.cpp b/src/t-server.cpp index f64999f..ca63da7 100644 --- a/src/t-server.cpp +++ b/src/t-server.cpp @@ -2,7 +2,7 @@ * Copyright (c) 1998-2005, Index Data. * See the file LICENSE for details. * - * $Id: t-server.cpp,v 1.2 2005-06-25 15:58:33 adam Exp $ + * $Id: t-server.cpp,v 1.3 2005-09-11 20:06:54 adam Exp $ */ #include @@ -18,38 +18,6 @@ using namespace yazpp_1; -class Mutex { -public: - Mutex(); - ~Mutex(); - void lock(); - void unlock(); -private: - pthread_mutex_t m_mutex; - -}; - -Mutex::Mutex() -{ - pthread_mutex_init(&m_mutex, 0); -} - -Mutex::~Mutex() -{ - pthread_mutex_destroy(&m_mutex); -} - -void Mutex::lock() -{ - pthread_mutex_lock(&m_mutex); -} - -void Mutex::unlock() -{ - pthread_mutex_unlock(&m_mutex); -} - - class MyServer; class Auth_Msg : public IMsg_Thread { -- 1.7.10.4