3 #if !defined (__ACE_INLINE__)
4 #include "ace/Event.inl"
5 #endif /* __ACE_INLINE__ */
7 #include "ace/Log_Category.h"
8 #include "ace/Condition_Attributes.h"
9 #if defined (ACE_HAS_ALLOC_HOOKS)
10 # include "ace/Malloc_Base.h"
11 #endif /* ACE_HAS_ALLOC_HOOKS */
13 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
15 ACE_ALLOC_HOOK_DEFINE_Tc(ACE_Event_T
)
17 template <class TIME_POLICY
>
18 ACE_Event_T
<TIME_POLICY
>::ACE_Event_T (int manual_reset
,
21 const ACE_TCHAR
*name
,
23 LPSECURITY_ATTRIBUTES sa
)
26 ACE_Condition_Attributes_T
<TIME_POLICY
> cond_attr (type
);
27 if (ACE_OS::event_init (&this->handle_
,
29 &const_cast<ACE_condattr_t
&> (cond_attr
.attributes ()),
35 ACELIB_ERROR ((LM_ERROR
,
37 ACE_TEXT ("ACE_Event_T<TIME_POLICY>::ACE_Event_T")));
40 template <class TIME_POLICY
>
41 ACE_Event_T
<TIME_POLICY
>::~ACE_Event_T (void)
45 ACE_END_VERSIONED_NAMESPACE_DECL