[Ace-users] ACE Service Configurator
joelihn at hotmail.com
Sun Nov 11 20:37:01 CST 2007
On 11 9 , 9 43 , schm... at dre.vanderbilt.edu (Douglas C. Schmidt)
> Thanks for using the PRF.
> >ACE VERSION: 5.5.10
> >HOST MACHINE and OPERATING SYSTEM: winxp
> >COMPILER NAME AND VERSION (AND PATCHLEVEL): g++
> >THE $ACE_ROOT/ace/config.h FILE : #include "ace/config-win32.h"
> >THE $ACE_ROOT/include/makeinclude/platform_macros.GNU
> >FILE :platform_macros.GNU
> >APG book,19.5 Reconfiguring Services During Execution:
> >1. On systems that have POSIX signal capability, send the process a
> >signal. For this to work, the program must be executing the Reactor
> >loop. Since this is often the case, the requirement is not usually a
> >Note that the signal number to use for this can be changed when the
> >starts by specifying the -s command line option (Table 19.1 on page
> >2. The program itself can call ACE_Service_Config::reconfigure()
> >directly. This is the favored option on Windows (since POSIX signals
> >are not
> >available) and can also be used for programs that are not running the
> >event loop. To make this more "automatic" on Windows, it's possible to
> >a file/directory change event, register the event handle with the
> >ACE_WFMO_Reactor, and use the event callback to do the
> >What`s meaning "create
> >a file/directory change event" in second method?
> Please see
> for an example.
> Dr. Douglas C. Schmidt Professor and Associate Chair
> Electrical Engineering and Computer Science TEL: (615) 343-8197
> Vanderbilt University WEB:www.dre.vanderbilt.edu/~schmidt
> Nashville, TN 37203 NET: d.schm... at vanderbilt.edu- -
> - -
How to use this? Where is ACE_Service_Config::reconfigure()?
More information about the Ace-users