diff options
author | Jörg Budischewski <jbu@openoffice.org> | 2001-06-08 15:24:19 +0000 |
---|---|---|
committer | Jörg Budischewski <jbu@openoffice.org> | 2001-06-08 15:24:19 +0000 |
commit | 8034cd4e020521e849973bb209b92fa1e136371d (patch) | |
tree | ac8ebf51010f5b0e3b41ddb48f182e16c2a697ff /vcl/source/helper/threadex.cxx | |
parent | 6c0de6f893c630f7b0c25a3d29439dfde64df9d0 (diff) |
#87994# osl_freeThreadHandle() is replaced by osl_destroyThread
Diffstat (limited to 'vcl/source/helper/threadex.cxx')
-rw-r--r-- | vcl/source/helper/threadex.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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(); |