diff options
author | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-30 06:58:36 +0000 |
---|---|---|
committer | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-30 06:58:36 +0000 |
commit | cb55e93e22993f3ec3e46a93b4836247af5ebe83 (patch) | |
tree | b5bc13ce40fb6a7ef5d1a36734939c9988763a46 | |
parent | 525436a64019cc0a378606688f8155a1c53e1bf4 (diff) | |
download | ATCD-cb55e93e22993f3ec3e46a93b4836247af5ebe83.tar.gz |
Syntax errors fixed.
-rw-r--r-- | apps/JAWS/PROTOTYPE/JAWS/IO.cpp | 1 | ||||
-rw-r--r-- | apps/JAWS/PROTOTYPE/JAWS/IO_Handler.cpp | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/JAWS/PROTOTYPE/JAWS/IO.cpp b/apps/JAWS/PROTOTYPE/JAWS/IO.cpp index 5c9099052a0..bbe8c3f3d40 100644 --- a/apps/JAWS/PROTOTYPE/JAWS/IO.cpp +++ b/apps/JAWS/PROTOTYPE/JAWS/IO.cpp @@ -232,7 +232,6 @@ JAWS_Asynch_IO::accept (JAWS_IO_Handler *ioh) { // Since each thread will call into this function, just do nothing. // Assume that the framework has initialized the Asynch_Acceptor already. - ioh->state (JAWS_IO_Handler::IDLE); } void diff --git a/apps/JAWS/PROTOTYPE/JAWS/IO_Handler.cpp b/apps/JAWS/PROTOTYPE/JAWS/IO_Handler.cpp index c990ab1b081..6e528094e52 100644 --- a/apps/JAWS/PROTOTYPE/JAWS/IO_Handler.cpp +++ b/apps/JAWS/PROTOTYPE/JAWS/IO_Handler.cpp @@ -9,6 +9,7 @@ #include "JAWS/IO_Handler.h" #include "JAWS/Data_Block.h" #include "JAWS/Policy.h" +#include "JAWS/Waiter.h" JAWS_Abstract_IO_Handler::~JAWS_Abstract_IO_Handler (void) { @@ -329,10 +330,14 @@ JAWS_Asynch_Handler::handle_accept (const ACE_Asynch_Accept::Result &result) // into our Data Block and then return. JAWS_Data_Block *db = this->handler ()->message_block (); + ACE_Message_Block &mb = result.message_block (); - db-> + ACE_OS::memcpy(db->base (), mb.base (), mb.size ()); + db->rd_ptr (mb.rd_ptr () - mb.base ()); + db->wr_ptr (mb.wr_ptr () - mb.base ()); + mb.release (); } void |