summaryrefslogtreecommitdiff
path: root/framework/test/threadtest
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-04-11 08:29:40 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-04-11 08:29:40 +0000
commitf07252626104cbcc791a114af102e9aa17855e0a (patch)
tree62971c0ebc967324870d063bd14bf48aeb3d0bb5 /framework/test/threadtest
parent75e74522ae1f1d7864ba07a9d7eb64114feaba9c (diff)
INTEGRATION: CWS changefileheader (1.5.262); FILE MERGED
2008/04/01 15:18:53 thb 1.5.262.3: #i85898# Stripping all external header guards 2008/04/01 10:58:18 thb 1.5.262.2: #i85898# Stripping all external header guards 2008/03/28 15:35:43 rt 1.5.262.1: #i87441# Change license header to LPGL v3.
Diffstat (limited to 'framework/test/threadtest')
-rw-r--r--framework/test/threadtest/threadtest.cxx80
1 files changed, 18 insertions, 62 deletions
diff --git a/framework/test/threadtest/threadtest.cxx b/framework/test/threadtest/threadtest.cxx
index 38080f8a2309..7fb611a2ed11 100644
--- a/framework/test/threadtest/threadtest.cxx
+++ b/framework/test/threadtest/threadtest.cxx
@@ -1,35 +1,30 @@
/*************************************************************************
*
- * OpenOffice.org - a multi-platform office productivity suite
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
- * $RCSfile: threadtest.cxx,v $
+ * Copyright 2008 by Sun Microsystems, Inc.
*
- * $Revision: 1.5 $
+ * OpenOffice.org - a multi-platform office productivity suite
*
- * last change: $Author: obo $ $Date: 2006-09-16 14:33:01 $
+ * $RCSfile: threadtest.cxx,v $
+ * $Revision: 1.6 $
*
- * The Contents of this file are made available subject to
- * the terms of GNU Lesser General Public License Version 2.1.
+ * This file is part of OpenOffice.org.
*
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
*
- * GNU Lesser General Public License Version 2.1
- * =============================================
- * Copyright 2005 by Sun Microsystems, Inc.
- * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
*
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1, as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
*
************************************************************************/
@@ -39,38 +34,17 @@
//_________________________________________________________________________________________________________________
// my own includes
//_________________________________________________________________________________________________________________
-
-#ifndef __FRAMEWORK_THREADHELP_THREADHELPBASE_HXX_
#include <threadhelp/threadhelpbase.hxx>
-#endif
#ifndef __FRAMEWORK_THREADHELP_TRANSACTIONBASE_HXX_
#include <threadhelp/transactionbase.hxx>
#endif
-
-#ifndef __FRAMEWORK_THREADHELP_RESETABLEGUARD_HXX_
#include <threadhelp/resetableguard.hxx>
-#endif
-
-#ifndef __FRAMEWORK_THREADHELP_READGUARD_HXX_
#include <threadhelp/readguard.hxx>
-#endif
-
-#ifndef __FRAMEWORK_THREADHELP_WRITEGUARD_HXX_
#include <threadhelp/writeguard.hxx>
-#endif
-
-#ifndef __FRAMEWORK_THREADHELP_TRANSACTIONGUARD_HXX_
#include <threadhelp/transactionguard.hxx>
-#endif
-
-#ifndef __FRAMEWORK_MACROS_GENERIC_HXX_
#include <macros/generic.hxx>
-#endif
-
-#ifndef __FRAMEWORK_MACROS_DEBUG_HXX_
#include <macros/debug.hxx>
-#endif
//_________________________________________________________________________________________________________________
// interface includes
@@ -79,30 +53,12 @@
//_________________________________________________________________________________________________________________
// other includes
//_________________________________________________________________________________________________________________
-
-#ifndef _RTL_RANDOM_H_
#include <rtl/random.h>
-#endif
-
-#ifndef _VOS_PROCESS_HXX_
#include <vos/process.hxx>
-#endif
-
-#ifndef _VOS_THREAD_HXX_
#include <vos/thread.hxx>
-#endif
-
-#ifndef _RTL_USTRING_
#include <rtl/ustring.hxx>
-#endif
-
-#ifndef _RTL_USTRBUF_HXX_
#include <rtl/ustrbuf.hxx>
-#endif
-
-#ifndef _OSL_TIME_H_
#include <osl/time.h>
-#endif
#ifndef _OSL_INTERLOCK_H_
#include <osl/interlock.h>