summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2001-06-08 15:24:19 +0000
committerJörg Budischewski <jbu@openoffice.org>2001-06-08 15:24:19 +0000
commit8034cd4e020521e849973bb209b92fa1e136371d (patch)
treeac8ebf51010f5b0e3b41ddb48f182e16c2a697ff /vcl/source
parent6c0de6f893c630f7b0c25a3d29439dfde64df9d0 (diff)
#87994# osl_freeThreadHandle() is replaced by osl_destroyThread
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/svmain.cxx6
-rw-r--r--vcl/source/helper/threadex.cxx8
2 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 21b1ac9fd184..23b142176a9e 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svmain.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: ssa $ $Date: 2001-05-18 09:22:51 $
+ * last change: $Author: jbu $ $Date: 2001-06-08 16:22:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -782,7 +782,7 @@ void JoinMainLoopThread()
WaitForSingleObject(hThreadID, INFINITE);
#else
osl_joinWithThread(hThreadID);
- osl_freeThreadHandle( hThreadID );
+ osl_destroyThread( hThreadID );
#endif
}
}
diff --git a/vcl/source/helper/threadex.cxx b/vcl/source/helper/threadex.cxx
index 561ba3dd2c3b..0f5dd2825b65 100644
--- a/vcl/source/helper/threadex.cxx
+++ b/vcl/source/helper/threadex.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: threadex.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: pl $ $Date: 2000-12-05 20:14:26 $
+ * last change: $Author: jbu $ $Date: 2001-06-08 16:24:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -74,7 +74,7 @@ ThreadExecutor::~ThreadExecutor()
{
osl_destroyCondition( m_aFinish );
if( m_aThread )
- osl_freeThreadHandle( m_aThread );
+ osl_destroyThread( m_aThread );
}
void ThreadExecutor::worker( void* pInstance )
@@ -88,7 +88,7 @@ long ThreadExecutor::execute()
{
osl_resetCondition( m_aFinish );
if( m_aThread )
- osl_freeThreadHandle( m_aThread ), m_aThread = NULL;
+ osl_destroyThread( m_aThread ), m_aThread = NULL;
m_aThread = osl_createThread( worker, this );
while( ! osl_checkCondition( m_aFinish ) )
Application::Reschedule();