diff options
author | wchiang <wchiang@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-23 09:55:27 +0000 |
---|---|---|
committer | wchiang <wchiang@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-23 09:55:27 +0000 |
commit | 0ff597f9c7da8b6222db86f75925e02224fb8bba (patch) | |
tree | a056eab77578b675b334cb8ce8e3d7649c3e1c16 /ace/CLASSIX/CLASSIX_OS.i | |
parent | 81af5abe7859366bc89f89cc8b998eb30f3fc17f (diff) | |
download | ATCD-0ff597f9c7da8b6222db86f75925e02224fb8bba.tar.gz |
modificaitons to file names, comments,
and some changes in line with the ACE_Reactor_Notify class.
Diffstat (limited to 'ace/CLASSIX/CLASSIX_OS.i')
-rw-r--r-- | ace/CLASSIX/CLASSIX_OS.i | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/ace/CLASSIX/CLASSIX_OS.i b/ace/CLASSIX/CLASSIX_OS.i new file mode 100644 index 00000000000..d5ded0cc75a --- /dev/null +++ b/ace/CLASSIX/CLASSIX_OS.i @@ -0,0 +1,56 @@ +/* -*- C++ -*- */ +// $Id$ + +/* ------------------------------------------------------------------------- */ +ACE_INLINE +const KnUniqueId& +ACE_CLASSIX_OS::null_KnUniqueId(void) +{ + return null_KnUniqueId_; +} + + +ACE_INLINE +ACE_Recursive_Thread_Mutex& +ACE_CLASSIX_OS::get_lock_(void) +{ + return lock_; +} + +/* ------------------------------------------------------------------------- */ +ACE_INLINE +ACE_CLASSIX_Msg::ACE_CLASSIX_Msg(void) +{ + // Make a null-filled message + this->msg_.flags = 0; + this->msg_.bodySize = 0; + this->msg_.bodyAddr = 0; + this->msg_.annexAddr = 0; + this->msg_.seqNum = 0; +} + +ACE_INLINE +ACE_CLASSIX_Msg::ACE_CLASSIX_Msg(const void* theBuf, int theLen) +{ + this->msg_.flags = 0; + this->msg_.annexAddr = 0; + this->msg_.seqNum = 0; + + this->msg_.bodySize = theLen; + this->msg_.bodyAddr = (VmAddr) theBuf; +} + +ACE_INLINE +void +ACE_CLASSIX_Msg::set(const void* theBuf, int theLen) +{ + this->msg_.bodySize = theLen; + this->msg_.bodyAddr = (VmAddr) theBuf; +} + +ACE_INLINE +KnMsgDesc* +ACE_CLASSIX_Msg::get(void) +{ + return &this->msg_; +} |