From f8530b3c1fb7d18dbb779fa873c02de590a1cdbe Mon Sep 17 00:00:00 2001 From: Tino Rachui Date: Wed, 7 Mar 2001 10:23:10 +0000 Subject: #84702# using an additional condition to avoid dealocks in lostOwnership calls --- dtrans/source/win32/clipb/WinClipboard.hxx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'dtrans/source/win32/clipb/WinClipboard.hxx') diff --git a/dtrans/source/win32/clipb/WinClipboard.hxx b/dtrans/source/win32/clipb/WinClipboard.hxx index bed96ef7ff30..a34cf618c72c 100644 --- a/dtrans/source/win32/clipb/WinClipboard.hxx +++ b/dtrans/source/win32/clipb/WinClipboard.hxx @@ -2,9 +2,9 @@ * * $RCSfile: WinClipboard.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: tra $ $Date: 2001-03-06 13:55:02 $ + * last change: $Author: tra $ $Date: 2001-03-07 11:23:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -108,6 +108,10 @@ #include #endif +#ifndef _OSL_CONDITN_HXX_ +#include +#endif + #include // forward @@ -130,8 +134,9 @@ class CWinClipbImpl; class CWinClipboardDummy { protected: - osl::Mutex m_aMutex; - osl::Mutex m_aCbListenerMutex; + osl::Mutex m_aMutex; + osl::Mutex m_aCbListenerMutex; + osl::Condition m_aCondition; }; class CWinClipboard : -- cgit v1.2.3