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 #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git]
/
TAO
/
examples
/
RTScheduling
/
Synch_i.cpp
blob
8e89b0fc637fed988f761d58950427fbb4211424
1
#include
"Synch_i.h"
2
3
Synch_i
::
Synch_i
(
void
)
4
{
5
this
->
synched_
=
0
;
6
}
7
8
void
9
Synch_i
::
go
(
CORBA
::
Long base_time
)
10
{
11
ACE_DEBUG
((
LM_DEBUG
,
12
"GO
\n
"
));
13
this
->
synched_
=
1
;
14
this
->
base_time_
.
set
(
static_cast
<
time_t
>(
base_time
),
0
);
15
}
16
17
int
18
Synch_i
::
synched
(
void
)
19
{
20
return this
->
synched_
;
21
}
22
23
ACE_Time_Value
*
24
Synch_i
::
base_time
(
void
)
25
{
26
return
&
this
->
base_time_
;
27
}