diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2000-12-21 13:35:28 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2000-12-21 13:35:28 +0000 |
commit | 8c3c9f8b9121f0be8d18e40b1e1548d207e1c47f (patch) | |
tree | 04161fec6641c699b6716f67e3c4d1e2df1ce8d4 /cppu/inc/uno/threadpool.h | |
parent | e91d5248ad4431a6199aab9a29e7b53aad262f6b (diff) |
added throw () clauses
Diffstat (limited to 'cppu/inc/uno/threadpool.h')
-rw-r--r-- | cppu/inc/uno/threadpool.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/cppu/inc/uno/threadpool.h b/cppu/inc/uno/threadpool.h index f27564607287..853d8ba9367a 100644 --- a/cppu/inc/uno/threadpool.h +++ b/cppu/inc/uno/threadpool.h @@ -2,9 +2,9 @@ * * $RCSfile: threadpool.h,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 15:25:52 $ + * last change: $Author: dbo $ $Date: 2000-12-21 14:35:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -81,7 +81,8 @@ extern "C" { * false, when the thread has already an identifier. The identifier was not * altered. ( This is in general a bug ). <br> **/ -SAL_DLLEXPORT sal_Bool SAL_CALL uno_bindIdToCurrentThread( sal_Sequence *pThreadId ); +SAL_DLLEXPORT sal_Bool SAL_CALL uno_bindIdToCurrentThread( sal_Sequence *pThreadId ) + SAL_THROW (); /** @@ -93,19 +94,16 @@ SAL_DLLEXPORT sal_Bool SAL_CALL uno_bindIdToCurrentThread( sal_Sequence *pThread * * @param ppThreadId [out] Contains the (acquired) ThreadId. **/ -SAL_DLLEXPORT void SAL_CALL uno_getIdOfCurrentThread( sal_Sequence **ppThreadId ); +SAL_DLLEXPORT void SAL_CALL uno_getIdOfCurrentThread( sal_Sequence **ppThreadId ) + SAL_THROW (); /** * If the internal refcount drops to zero, the association betwen threadId and * thread is broken. **/ -SAL_DLLEXPORT void SAL_CALL uno_releaseIdFromCurrentThread(); - - - - - +SAL_DLLEXPORT void SAL_CALL uno_releaseIdFromCurrentThread() + SAL_THROW (); /** @@ -123,7 +121,7 @@ struct uno_threadpool_Handle; * @see uno_threadpool_disposeThreads ***/ SAL_DLLEXPORT struct uno_threadpool_Handle * SAL_CALL -uno_threadpool_createHandle( sal_Int64 nDisposeId ); +uno_threadpool_createHandle( sal_Int64 nDisposeId ) SAL_THROW (); /** * This method is called to wait for a reply of a previously sent request. This is a @@ -135,7 +133,8 @@ uno_threadpool_createHandle( sal_Int64 nDisposeId ); * *ppThreadSpecificData is null. **/ SAL_DLLEXPORT void SAL_CALL -uno_threadpool_enter( struct uno_threadpool_Handle * pHandle , void **ppThreadSpecificData ); +uno_threadpool_enter( struct uno_threadpool_Handle * pHandle , void **ppThreadSpecificData ) + SAL_THROW (); /** @@ -164,7 +163,7 @@ SAL_DLLEXPORT void SAL_CALL uno_threadpool_putRequest( sal_Sequence *pThreadId, void *pThreadSpecificData, void ( SAL_CALL * doRequest ) ( void *pThreadSpecificData ), - sal_Bool bIsOneway ); + sal_Bool bIsOneway ) SAL_THROW (); /** @@ -174,7 +173,7 @@ uno_threadpool_putRequest( sal_Sequence *pThreadId, * @param pThreadSpecificData The pointer, that is returned by uno_threadpool_enter. **/ SAL_DLLEXPORT void SAL_CALL -uno_threadpool_putReply( sal_Sequence *pThreadId, void *pThreadSpecificData ); +uno_threadpool_putReply( sal_Sequence *pThreadId, void *pThreadSpecificData ) SAL_THROW (); /** @@ -192,7 +191,7 @@ uno_threadpool_putReply( sal_Sequence *pThreadId, void *pThreadSpecificData ); * uno_threadpool_stopDisposeThreads. **/ SAL_DLLEXPORT void SAL_CALL -uno_threadpool_disposeThreads( sal_Int64 nDisposeId ); +uno_threadpool_disposeThreads( sal_Int64 nDisposeId ) SAL_THROW (); /** @@ -205,7 +204,7 @@ uno_threadpool_disposeThreads( sal_Int64 nDisposeId ); * @see uno_threadpool_disposeThreads **/ SAL_DLLEXPORT void SAL_CALL -uno_threadpool_stopDisposeThreads( sal_Int64 nDisposeId ); +uno_threadpool_stopDisposeThreads( sal_Int64 nDisposeId ) SAL_THROW (); #ifdef __cplusplus } |