[ace-users] how to avoid memory leaks when using proactor?

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Wed Jun 13 04:56:13 CDT 2007


Hi,

        Please see Chapter 9 of C++NPv2
<www.cs.wustl.edu/~schmidt/ACE/book2/> for information on how to
cancel I/O operations using the Proactor.  Steve, is there similar
discussion in APG?

Thanks,

        Doug

>Version: 5.5.8
>host: windows xp sp2, suse linux enterprise server 9 sp2
>compiler: vs.net 2003, gcc 3.3.3
>
>When exit from the app, I call end_event_loop of proactor. But the
>pending write whick holds a message block causes a memory leak.
>My question is :
>how to cancel this pending write ? and how to get the pending write so
>I can release its message block ?
>
>thanks!
>


-- 
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.schmidt at vanderbilt.edu



More information about the Ace-users mailing list