Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

wefts_fastcond.h

Go to the documentation of this file.
00001 /*
00002    wefts_fastcond.h
00003    Fast mutex + condition structure wrapper.
00004 
00005    $Id: wefts_fastcond.h,v 1.2 2003/08/05 15:40:20 jonnymind Exp $
00006 ----------------------------------------------
00007    Begin      : 2003-08-02 00:10
00008    Author     : Giancarlo Niccolai
00009 
00010    Last modified because:
00011 
00012 */
00013 
00014 /**************************************************************************
00015 *   This program is free software; you can redistribute it and/or modify  *
00016 *   it under the terms of the GNU Library General Public License as       *
00017 *   published by the Free Software Foundation; either version 2.1 of the  *
00018 *   License, or (at your option) any later version.                       *
00019 ***************************************************************************/
00020 
00021 #ifndef WT_FASTCOND_H
00022 #define WT_FASTCOND_H
00023 
00024 #include <wefts_cond.h>
00025 #include <wefts_mutex.h>
00026 
00027 
00028 namespace Wefts {
00033 class FastCondition: public Cond, public Mutex
00034 {
00035 public:
00037    FastCondition(): Cond(), Mutex() { m_my_mutex = &m_mutex; }
00038 };
00039 
00040 }
00041 
00042 #endif
00043 /* end of wefts_fastcond.h */

Generated on Tue Aug 5 18:09:00 2003 for Wefts by doxygen1.2.18