Also use Objects as part of an operation but as a result don't generate Any operation...
[ACE_TAO.git] / ACE / ace / OS_NS_poll.h
blobf865f51bd7ce25b00c672e7d38105ef39c9493b1
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file OS_NS_poll.h
7 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
8 * @author Jesper S. M|ller<stophph@diku.dk>
9 * @author and a cast of thousands...
11 * Originally in OS.h.
13 //=============================================================================
15 #ifndef ACE_OS_NS_POLL_H
16 # define ACE_OS_NS_POLL_H
18 # include /**/ "ace/pre.h"
20 # include "ace/config-all.h"
22 # if !defined (ACE_LACKS_PRAGMA_ONCE)
23 # pragma once
24 # endif /* ACE_LACKS_PRAGMA_ONCE */
26 #include "ace/os_include/os_poll.h"
27 #include /**/ "ace/ACE_export.h"
29 #if defined (ACE_EXPORT_MACRO)
30 # undef ACE_EXPORT_MACRO
31 #endif
32 #define ACE_EXPORT_MACRO ACE_Export
34 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
36 class ACE_Time_Value;
38 namespace ACE_OS
41 ACE_NAMESPACE_INLINE_FUNCTION
42 int poll (struct pollfd *pollfds,
43 unsigned long len,
44 const ACE_Time_Value *tv = 0);
46 ACE_NAMESPACE_INLINE_FUNCTION
47 int poll (struct pollfd *pollfds,
48 unsigned long len,
49 const ACE_Time_Value &tv);
51 } /* namespace ACE_OS */
53 ACE_END_VERSIONED_NAMESPACE_DECL
55 # if defined (ACE_HAS_INLINED_OSCALLS)
56 # if defined (ACE_INLINE)
57 # undef ACE_INLINE
58 # endif /* ACE_INLINE */
59 # define ACE_INLINE inline
60 # include "ace/OS_NS_poll.inl"
61 # endif /* ACE_HAS_INLINED_OSCALLS */
63 # include /**/ "ace/post.h"
64 #endif /* ACE_OS_NS_POLL_H */