3
This file implements debugging aids for multithreaded applications.
5
$ Author: Mirko Boehm $
6
$ Copyright: (C) 2004, 2005 Mirko Boehm $
7
$ Contact: mirko@kde.org
9
http://www.hackerbuero.org $
11
This library is free software; you can redistribute it and/or
12
modify it under the terms of the GNU Library General Public
13
License as published by the Free Software Foundation; either
14
version 2 of the License, or (at your option) any later version.
16
This library is distributed in the hope that it will be useful,
17
but WITHOUT ANY WARRANTY; without even the implied warranty of
18
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
Library General Public License for more details.
21
You should have received a copy of the GNU Library General Public License
22
along with this library; see the file COPYING.LIB. If not, write to
23
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24
Boston, MA 02110-1301, USA.
26
$Id: DebuggingAids.cpp 20 2005-08-08 21:02:51Z mirko $
31
#include "DebuggingAids.h"
32
#include <kdelibs_export.h>
34
/** A global mutex for the ThreadWeaver objects.
35
Generally, you should not use it in your own code. */
36
THREADWEAVER_EXPORT QMutex ThreadWeaver::GlobalMutex;
37
THREADWEAVER_EXPORT bool ThreadWeaver::Debug = true;
38
THREADWEAVER_EXPORT int ThreadWeaver::DebugLevel = 01;