repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use a variable on the stack to not have a temporary in the call
[ACE_TAO.git]
/
TAO
/
performance-tests
/
Sequence_Latency
/
Thread_Pool
/
Worker_Thread.cpp
blob
1aa09af027f7437b3f105258544c0a421e9542cc
1
#include
"Worker_Thread.h"
2
3
Worker_Thread
::
Worker_Thread
(
CORBA
::
ORB_ptr orb
)
4
:
orb_
(
CORBA
::
ORB
::
_duplicate
(
orb
))
5
{
6
}
7
8
int
9
Worker_Thread
::
svc
()
10
{
11
try
12
{
13
this
->
orb_
->
run
();
14
}
15
catch
(
const
CORBA
::
Exception
&){}
16
return
0
;
17
}