blob: 7985a10dad52ec53b112900849469346e825411f (
plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/* -*- C++ -*- */
// $Id$
#if defined (ACE_WIN32)
ACE_INLINE int
ACE_ReactorEx::cancel_timer (ACE_Event_Handler *handler)
{
ACE_TRACE ("ACE_ReactorEx::cancel_timer");
return this->timer_queue_->cancel (handler);
}
ACE_INLINE int
ACE_ReactorEx::cancel_timer (int timer_id,
const void **arg)
{
ACE_TRACE ("ACE_ReactorEx::cancel_timer");
return this->timer_queue_->cancel (timer_id, arg);
}
ACE_INLINE int
ACE_ReactorEx::handle_events (ACE_Time_Value &how_long,
int wait_all,
ACE_Event_Handler *wait_all_callback,
int alertable)
{
return this->handle_events (&how_long, wait_all,
wait_all_callback, alertable);
}
ACE_INLINE ACE_HANDLE *
ACE_ReactorEx::handles (void) const
{
return this->handles_;
}
ACE_INLINE size_t
ACE_ReactorEx_Handler_Repository::max_handlep1 (void)
{
return this->max_handlep1_;
}
ACE_INLINE ACE_Event_Handler *
ACE_ReactorEx_Handler_Repository::find (size_t index)
{
if (this->handle_in_range (index))
return this->event_handlers_[i];
else
{
errno = ENOENT;
return 0;
}
}
#endif /* ACE_WIN32 */
|