TFCweb  1.0.4 $Rev: 483 $
TFC Primavera 2012: Nucli d'un servidor web
debug.h
Veure la documentació d'aquest fitxer.
1 #if !defined(_TFC_DEBUG_H_)
2 #define _TFC_DEBUG_H_
3 
10 /*
11  * Copyright (c) 2012 Toni Corvera
12  *
13  * This file is part of TFCWeb.
14  *
15  * TFCWeb is free software: you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License as published by
17  * the Free Software Foundation, either version 3 of the License, or
18  * (at your option) any later version.
19  *
20  * TFCWeb is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  * GNU General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License
26  * along with TFCWeb. If not, see <http://www.gnu.org/licenses/>.
27  */
28 
29 #include "ThreadPool.h"
30 
31 namespace tfc {
32 
37 namespace debug {
38 
39 #if !defined(NDEBUG) && defined(TFC_MOSTRA_CUA_CLIENTS)
40 
45 void init(const tfc::ThreadPool & pool_clients);
46 #else
47 inline void init(const tfc::ThreadPool &) {}
48 #endif
49 
50 } // ns debug
51 
52 } // ns tfc
53 
54 #endif // _TFC_DEBUG_H_
55 
56 // vim:set ts=4 et ai: //