Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
2d4590ae
Kaydet (Commit)
2d4590ae
authored
May 18, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
oox: drop using from header
Change-Id: Ie353c561ccdcfb3c198ff05943f0ea64a3626735
üst
ec70ac6e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
thread.cxx
cppu/source/threadpool/thread.cxx
+1
-0
threadpool.cxx
cppu/source/threadpool/threadpool.cxx
+1
-0
threadpool.hxx
cppu/source/threadpool/threadpool.hxx
+6
-7
No files found.
cppu/source/threadpool/thread.cxx
Dosyayı görüntüle @
2d4590ae
...
...
@@ -32,6 +32,7 @@
#include "threadpool.hxx"
using
namespace
osl
;
using
namespace
rtl
;
namespace
cppu_threadpool
{
...
...
cppu/source/threadpool/threadpool.cxx
Dosyayı görüntüle @
2d4590ae
...
...
@@ -35,6 +35,7 @@
using
namespace
::
std
;
using
namespace
::
osl
;
using
namespace
::
rtl
;
namespace
cppu_threadpool
{
...
...
cppu/source/threadpool/threadpool.hxx
Dosyayı görüntüle @
2d4590ae
...
...
@@ -35,7 +35,6 @@
#include "jobqueue.hxx"
using
namespace
::
rtl
;
namespace
cppu_threadpool
{
class
ORequestThread
;
...
...
@@ -61,7 +60,7 @@ namespace cppu_threadpool {
typedef
::
boost
::
unordered_map
<
ByteSequence
,
// ThreadID
::
rtl
::
ByteSequence
,
// ThreadID
::
std
::
pair
<
JobQueue
*
,
JobQueue
*
>
,
HashThreadId
,
EqualThreadId
...
...
@@ -127,18 +126,18 @@ namespace cppu_threadpool {
void
dispose
(
sal_Int64
nDisposeId
);
void
destroy
(
sal_Int64
nDisposeId
);
void
addJob
(
const
ByteSequence
&
aThreadId
,
void
addJob
(
const
::
rtl
::
ByteSequence
&
aThreadId
,
bool
bAsynchron
,
void
*
pThreadSpecificData
,
RequestFun
*
doRequest
);
void
prepare
(
const
ByteSequence
&
aThreadId
);
void
*
enter
(
const
ByteSequence
&
aThreadId
,
sal_Int64
nDisposeId
);
void
prepare
(
const
::
rtl
::
ByteSequence
&
aThreadId
);
void
*
enter
(
const
::
rtl
::
ByteSequence
&
aThreadId
,
sal_Int64
nDisposeId
);
/********
* @return true, if queue could be successfully revoked.
********/
bool
revokeQueue
(
const
ByteSequence
&
aThreadId
,
bool
bAsynchron
);
bool
revokeQueue
(
const
::
rtl
::
ByteSequence
&
aThreadId
,
bool
bAsynchron
);
void
waitInPool
(
rtl
::
Reference
<
ORequestThread
>
const
&
pThread
);
...
...
@@ -147,7 +146,7 @@ namespace cppu_threadpool {
ThreadAdmin
&
getThreadAdmin
()
{
return
m_aThreadAdmin
;
}
private
:
void
createThread
(
JobQueue
*
pQueue
,
const
ByteSequence
&
aThreadId
,
bool
bAsynchron
);
void
createThread
(
JobQueue
*
pQueue
,
const
::
rtl
::
ByteSequence
&
aThreadId
,
bool
bAsynchron
);
ThreadIdHashMap
m_mapQueue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment