/usr/include/ace/Event.cpp is in libace-dev 6.3.3+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #include "ace/Event.h"
#if !defined (__ACE_INLINE__)
#include "ace/Event.inl"
#endif /* __ACE_INLINE__ */
#include "ace/Log_Category.h"
#include "ace/Condition_Attributes.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
template <class TIME_POLICY>
ACE_Event_T<TIME_POLICY>::ACE_Event_T (int manual_reset,
int initial_state,
int type,
const ACE_TCHAR *name,
void *arg,
LPSECURITY_ATTRIBUTES sa)
: ACE_Event_Base ()
{
ACE_Condition_Attributes_T<TIME_POLICY> cond_attr (type);
if (ACE_OS::event_init (&this->handle_,
type,
&const_cast<ACE_condattr_t&> (cond_attr.attributes ()),
manual_reset,
initial_state,
name,
arg,
sa) != 0)
ACELIB_ERROR ((LM_ERROR,
ACE_TEXT ("%p\n"),
ACE_TEXT ("ACE_Event_T<TIME_POLICY>::ACE_Event_T")));
}
template <class TIME_POLICY>
ACE_Event_T<TIME_POLICY>::~ACE_Event_T (void)
{
}
ACE_END_VERSIONED_NAMESPACE_DECL
|