|
LibreOffice Module cppu (master) 1
|
#include <sal/config.h>#include <cassert>#include <chrono>#include <algorithm>#include <utility>#include <unordered_map>#include <osl/diagnose.h>#include <sal/log.hxx>#include <uno/threadpool.h>#include "threadpool.hxx"#include "thread.hxx"Go to the source code of this file.
Classes | |
| struct | _uno_ThreadPool |
Namespaces | |
| namespace | cppu_threadpool |
Typedefs | |
| typedef std::unordered_map< uno_ThreadPool, ThreadPoolHolder, uno_ThreadPool_Hash, uno_ThreadPool_Equal > | ThreadpoolHashSet |
Functions | |
| uno_ThreadPool SAL_CALL | uno_threadpool_create () SAL_THROW_EXTERN_C() |
| void SAL_CALL | uno_threadpool_attach (uno_ThreadPool hPool) SAL_THROW_EXTERN_C() |
| void SAL_CALL | uno_threadpool_enter (uno_ThreadPool hPool, void **ppJob) SAL_THROW_EXTERN_C() |
| void SAL_CALL | uno_threadpool_detach (SAL_UNUSED_PARAMETER uno_ThreadPool) SAL_THROW_EXTERN_C() |
| void SAL_CALL | uno_threadpool_putJob (uno_ThreadPool hPool, sal_Sequence *pThreadId, void *pJob, void(SAL_CALL *doRequest)(void *pThreadSpecificData), sal_Bool bIsOneway) SAL_THROW_EXTERN_C() |
| void SAL_CALL | uno_threadpool_dispose (uno_ThreadPool hPool) SAL_THROW_EXTERN_C() |
| void SAL_CALL | uno_threadpool_destroy (uno_ThreadPool hPool) SAL_THROW_EXTERN_C() |
Variables | |
| static ThreadpoolHashSet * | g_pThreadpoolHashSet |
| typedef std::unordered_map< uno_ThreadPool, ThreadPoolHolder, uno_ThreadPool_Hash, uno_ThreadPool_Equal > ThreadpoolHashSet |
Definition at line 346 of file threadpool.cxx.
| void SAL_CALL uno_threadpool_attach | ( | uno_ThreadPool | hPool | ) |
Definition at line 391 of file threadpool.cxx.
References SAL_THROW_EXTERN_C, uno_getIdOfCurrentThread(), and uno_releaseIdFromCurrentThread().
| uno_ThreadPool SAL_CALL uno_threadpool_create | ( | ) |
Definition at line 369 of file threadpool.cxx.
References g_pThreadpoolHashSet, h, and p.
| void SAL_CALL uno_threadpool_destroy | ( | uno_ThreadPool | hPool | ) |
Definition at line 444 of file threadpool.cxx.
References g_pThreadpoolHashSet, p, and SAL_THROW_EXTERN_C.
| void SAL_CALL uno_threadpool_detach | ( | SAL_UNUSED_PARAMETER | uno_ThreadPool | ) |
Definition at line 415 of file threadpool.cxx.
References SAL_THROW_EXTERN_C.
| void SAL_CALL uno_threadpool_dispose | ( | uno_ThreadPool | hPool | ) |
Definition at line 437 of file threadpool.cxx.
References SAL_THROW_EXTERN_C.
| void SAL_CALL uno_threadpool_enter | ( | uno_ThreadPool | hPool, |
| void ** | ppJob | ||
| ) |
Definition at line 401 of file threadpool.cxx.
References SAL_THROW_EXTERN_C, uno_getIdOfCurrentThread(), and uno_releaseIdFromCurrentThread().
| void SAL_CALL uno_threadpool_putJob | ( | uno_ThreadPool | hPool, |
| sal_Sequence * | pThreadId, | ||
| void * | pJob, | ||
| void(SAL_CALL *doRequest)(void *pThreadSpecificData) | , | ||
| sal_Bool | bIsOneway | ||
| ) |
Definition at line 421 of file threadpool.cxx.
References SAL_THROW_EXTERN_C, and SAL_WARN.
|
static |
Definition at line 348 of file threadpool.cxx.
Referenced by uno_threadpool_create(), and uno_threadpool_destroy().