3 class HA_CommandHandler
: public ACE_Task_Base
9 ((LM_DEBUG
, ACE_TEXT ("(%t) Handler Thread running\n")));
15 int ACE_TMAIN (int, ACE_TCHAR
*[])
17 ACE_DEBUG ((LM_DEBUG
, ACE_TEXT ("(%t) Main Thread running\n")));
18 // Listing 1 code/ch13
19 HA_CommandHandler handler
;
20 int result
= handler
.activate (THR_NEW_LWP
|
23 ACE_ASSERT (result
== 0);
25 ACE_UNUSED_ARG (result
);
28 ACE_TEXT ("(%t) The current thread count is %d\n"),
29 handler
.thr_count ()));
31 ACE_TEXT ("(%t) The group identifier is %d\n"),