Dep/ACE: Upgrade ACE -library to 5.8.3

--HG--
branch : trunk
This commit is contained in:
click
2010-11-04 05:30:29 +01:00
parent 2604250c3c
commit 9b16ee203f
581 changed files with 10265 additions and 14303 deletions
+16 -1
View File
@@ -1,6 +1,6 @@
// -*- C++ -*-
//
// $Id: Pipe.inl 80826 2008-03-04 14:51:23Z wotte $
// $Id: Pipe.inl 92010 2010-09-24 14:54:19Z shuston $
#include "ace/Global_Macros.h"
#include "ace/ACE.h"
@@ -185,4 +185,19 @@ ACE_Pipe::recv (void *buf, size_t n,
overlapped);
}
ACE_INLINE int
ACE_Pipe::close_handle (int which)
{
int result = 0;
// Note that the following will work even if we aren't closing down
// sockets because <ACE_OS::closesocket> will just call <::close> in
// that case!
if (this->handles_[which] != ACE_INVALID_HANDLE)
result = ACE_OS::closesocket (this->handles_[which]);
this->handles_[which] = ACE_INVALID_HANDLE;
return result;
}
ACE_END_VERSIONED_NAMESPACE_DECL