From 54ec29f38981421ef2b500c215599591a7d49a92 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 26 Apr 2006 19:49:54 +0000 Subject: INTEGRATION: CWS jsc9 (1.4.2); FILE MERGED 2006/04/26 14:15:32 jsc 1.4.2.1: #134738# move fixes back to previous version --- cppu/source/threadpool/jobqueue.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'cppu/source/threadpool/jobqueue.cxx') diff --git a/cppu/source/threadpool/jobqueue.cxx b/cppu/source/threadpool/jobqueue.cxx index accc4587b214..e2e3a2187f69 100644 --- a/cppu/source/threadpool/jobqueue.cxx +++ b/cppu/source/threadpool/jobqueue.cxx @@ -4,9 +4,9 @@ * * $RCSfile: jobqueue.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: hr $ $Date: 2006-04-19 13:48:46 $ + * last change: $Author: kz $ $Date: 2006-04-26 20:49:42 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -68,15 +68,13 @@ namespace cppu_threadpool { m_nToDo ++; } - void *JobQueue::enter( - DisposedCallerAdmin & disposedCallerAdmin, sal_Int64 nDisposeId, - sal_Bool bReturnWhenNoJob ) + void *JobQueue::enter( sal_Int64 nDisposeId , sal_Bool bReturnWhenNoJob ) { void *pReturn = 0; { // synchronize with the dispose calls MutexGuard guard( m_mutex ); - if( disposedCallerAdmin.isDisposed( nDisposeId ) ) + if( DisposedCallerAdmin::getInstance()->isDisposed( nDisposeId ) ) { return 0; } -- cgit v1.2.3