From: Adam Dickmeiss Date: Sun, 11 Sep 2005 20:06:54 +0000 (+0000) Subject: Unused code removed in test server X-Git-Tag: YAZPROXY.ERE3~1 X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=commitdiff_plain;h=f041f45353b3f0ad2d6c0a4cb18ce44e0afd2205;hp=3110991d8a797c0e91037e9e615090ec57e22359 Unused code removed in test server --- 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 {