Dep/ACE: Upgrade ACE -library to 5.8.3
--HG-- branch : trunk
This commit is contained in:
+9
-24
@@ -1,6 +1,6 @@
|
||||
// -*- C++ -*-
|
||||
//
|
||||
// $Id: ACE.inl 87366 2009-11-05 20:16:30Z olli $
|
||||
// $Id: ACE.inl 91813 2010-09-17 07:52:52Z johnnyw $
|
||||
|
||||
#include "ace/OS_NS_unistd.h"
|
||||
#include "ace/OS_NS_Thread.h"
|
||||
@@ -238,36 +238,21 @@ ACE::recv_i (ACE_HANDLE handle, void *buf, size_t len)
|
||||
}
|
||||
|
||||
ACE_INLINE int
|
||||
ACE::handle_read_ready (ACE_HANDLE handle,
|
||||
const ACE_Time_Value *timeout)
|
||||
ACE::handle_read_ready (ACE_HANDLE handle, const ACE_Time_Value *timeout)
|
||||
{
|
||||
return ACE::handle_ready (handle,
|
||||
timeout,
|
||||
1,
|
||||
0,
|
||||
0);
|
||||
return ACE::handle_ready (handle, timeout, 1, 0, 0);
|
||||
}
|
||||
|
||||
ACE_INLINE int
|
||||
ACE::handle_write_ready (ACE_HANDLE handle,
|
||||
const ACE_Time_Value *timeout)
|
||||
ACE::handle_write_ready (ACE_HANDLE handle, const ACE_Time_Value *timeout)
|
||||
{
|
||||
return ACE::handle_ready (handle,
|
||||
timeout,
|
||||
0,
|
||||
1,
|
||||
0);
|
||||
return ACE::handle_ready (handle, timeout, 0, 1, 0);
|
||||
}
|
||||
|
||||
ACE_INLINE int
|
||||
ACE::handle_exception_ready (ACE_HANDLE handle,
|
||||
const ACE_Time_Value *timeout)
|
||||
ACE::handle_exception_ready (ACE_HANDLE handle, const ACE_Time_Value *timeout)
|
||||
{
|
||||
return ACE::handle_ready (handle,
|
||||
timeout,
|
||||
0,
|
||||
0,
|
||||
1);
|
||||
return ACE::handle_ready (handle, timeout, 0, 0, 1);
|
||||
}
|
||||
|
||||
ACE_INLINE void
|
||||
@@ -287,7 +272,7 @@ ACE::strdelete (wchar_t *s)
|
||||
ACE_INLINE bool
|
||||
ACE::isdotdir (const char *s)
|
||||
{
|
||||
return (s[0] == '.' &&
|
||||
return (s[0] == '.' &&
|
||||
((s[1] == 0) || (s[1] == '.' && s[2] == 0)));
|
||||
}
|
||||
|
||||
@@ -295,7 +280,7 @@ ACE::isdotdir (const char *s)
|
||||
ACE_INLINE bool
|
||||
ACE::isdotdir (const wchar_t *s)
|
||||
{
|
||||
return (s[0] == ACE_TEXT ('.') &&
|
||||
return (s[0] == ACE_TEXT ('.') &&
|
||||
((s[1] == 0) || (s[1] == ACE_TEXT ('.') && s[2] == 0)));
|
||||
}
|
||||
#endif /* ACE_HAS_WCHAR */
|
||||
|
||||
Reference in New Issue
Block a user