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
Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git]
/
TAO
/
tests
/
MT_NoUpcall_Client_Leader
/
worker.cpp
blob
7e06796e775587ad0f79e996acf92cb8c201803f
1
#include
"worker.h"
2
3
Worker
::
Worker
(
CORBA
::
ORB_ptr orb
)
4
:
orb_
(
CORBA
::
ORB
::
_duplicate
(
orb
))
5
{
6
}
7
8
int
9
Worker
::
svc
()
10
{
11
ACE_DEBUG
((
LM_INFO
,
"(%P|%t) Running ORB in a separate thread
\n
"
));
12
try
13
{
14
this
->
orb_
->
run
();
15
}
16
catch
(
const
CORBA
::
Exception
&)
17
{
18
}
19
return
0
;
20
}
21