diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-06-04 10:37:48 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-06-04 10:37:48 +0000 |
commit | f1ea6a486653ea4a2e4a7e43907375daf8c5b97c (patch) | |
tree | 79d786fea749f3c24ea787d36eed768deac617c7 /dtrans | |
parent | fc1e200b1c768dd7645e59584edaa750ab0f0354 (diff) |
INTEGRATION: CWS vcl10 (1.61.4); FILE MERGED
2003/05/28 16:48:41 pl 1.61.4.1: #9277# remove useless osl_yoieldThread calls
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/X11/X11_selection.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/dtrans/source/X11/X11_selection.cxx b/dtrans/source/X11/X11_selection.cxx index c6a7f0d67356..fe1fe6442d20 100644 --- a/dtrans/source/X11/X11_selection.cxx +++ b/dtrans/source/X11/X11_selection.cxx @@ -2,9 +2,9 @@ * * $RCSfile: X11_selection.cxx,v $ * - * $Revision: 1.61 $ + * $Revision: 1.62 $ * - * last change: $Author: vg $ $Date: 2003-05-16 12:07:32 $ + * last change: $Author: vg $ $Date: 2003-06-04 11:37:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -990,7 +990,6 @@ bool SelectionManager::getPasteData( Atom selection, Atom type, Sequence< sal_In handleXEvent( aEvent ); } } - osl_yieldThread(); } while( ! it->second->m_aDataArrived.check() && time(NULL)-nBegin < 3 ); #if OSL_DEBUG_LEVEL > 1 @@ -3188,10 +3187,8 @@ void SelectionManager::dragDoDispatch() aTVal.Seconds = 0; aTVal.Nanosec = 200000000; oslThread aThread = m_aDragExecuteThread; - osl_yieldThread(); while( m_xDragSourceListener.is() && ( ! m_bDropSent || time(NULL)-m_nDropTimeout < 5 ) && osl_scheduleThread( aThread ) ) { - osl_yieldThread(); // let the thread in the run method do the dispatching // just look occasionally here whether drop timed out or is completed osl_waitThread( &aTVal ); |