My Project
UDK 3.2.7 C/C++ API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
uno
threadpool.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#include <
cppu/cppudllapi.h
>
21
#include <
rtl/byteseq.h
>
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
/***
28
* Thread identifier administration.
29
***/
44
CPPU_DLLPUBLIC
sal_Bool
SAL_CALL
uno_bindIdToCurrentThread
(
sal_Sequence
*pThreadId )
45
SAL_THROW_EXTERN_C
();
46
47
58
CPPU_DLLPUBLIC
void
SAL_CALL
uno_getIdOfCurrentThread
(
sal_Sequence
**ppThreadId )
59
SAL_THROW_EXTERN_C
();
60
61
66
CPPU_DLLPUBLIC
void
SAL_CALL
uno_releaseIdFromCurrentThread
()
67
SAL_THROW_EXTERN_C
();
68
69
70
struct _uno_ThreadPool;
71
typedef struct _uno_ThreadPool *
uno_ThreadPool
;
72
77
CPPU_DLLPUBLIC
uno_ThreadPool SAL_CALL
78
uno_threadpool_create
()
SAL_THROW_EXTERN_C
();
79
80
92
CPPU_DLLPUBLIC
void
SAL_CALL
93
uno_threadpool_attach
( uno_ThreadPool hPool ) SAL_THROW_EXTERN_C();
94
104
CPPU_DLLPUBLIC
void
SAL_CALL
105
uno_threadpool_enter
( uno_ThreadPool hPool ,
void
**ppJob )
106
SAL_THROW_EXTERN_C();
107
112
CPPU_DLLPUBLIC
void
SAL_CALL
113
uno_threadpool_detach
( uno_ThreadPool hPool ) SAL_THROW_EXTERN_C();
114
144
CPPU_DLLPUBLIC
void
SAL_CALL
145
uno_threadpool_putJob
(
146
uno_ThreadPool hPool,
147
sal_Sequence
*pThreadId,
148
void
*pJob,
149
void
( SAL_CALL * doRequest ) (
void
*pThreadSpecificData ),
150
sal_Bool
bIsOneway ) SAL_THROW_EXTERN_C();
151
163
CPPU_DLLPUBLIC
void
SAL_CALL
164
uno_threadpool_dispose
( uno_ThreadPool hPool ) SAL_THROW_EXTERN_C();
165
166
176
CPPU_DLLPUBLIC
void
SAL_CALL
177
uno_threadpool_destroy
( uno_ThreadPool hPool ) SAL_THROW_EXTERN_C();
178
179
#ifdef __cplusplus
180
}
181
#endif
182
183
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Mon May 20 2013 17:30:02 for My Project by
1.8.1.2