summaryrefslogtreecommitdiff
path: root/ace/CLASSIX/CLASSIX_OS.i
diff options
context:
space:
mode:
authorwchiang <wchiang@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-23 09:55:27 +0000
committerwchiang <wchiang@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-23 09:55:27 +0000
commitb33b12609c2f1fc6b2c669a16e6814535fa866e6 (patch)
treea056eab77578b675b334cb8ce8e3d7649c3e1c16 /ace/CLASSIX/CLASSIX_OS.i
parenta60b4729ad82ba4668f22ca025a8aa7b2537189a (diff)
downloadATCD-b33b12609c2f1fc6b2c669a16e6814535fa866e6.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.i56
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_;
+}