blob: d1c32a0c9d6922d3b1546b1655bea1118da1f46a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//$Id$
#include "utils.h"
#include "Kokyu.h"
#include "ace/Lock_Adapter_T.h"
#include "ace/OS_NS_string.h"
void guid_copy( Kokyu::GuidType& lhs, const RTScheduling::Current::IdType& rhs)
{
lhs.length(rhs.length ());
ACE_OS::memcpy(lhs.get_buffer (),
rhs.get_buffer (),
rhs.length ());
}
void guid_copy( RTScheduling::Current::IdType& lhs, const Kokyu::GuidType& rhs)
{
lhs.length(rhs.length ());
ACE_OS::memcpy(lhs.get_buffer (),
rhs.get_buffer (),
rhs.length ());
}
|