Overview
| Artifact ID: | d4ed70b82cf394160921e3d18384e7520ec2fd1a |
|---|---|
| Ticket: | 1958930fffffffffffffffffffffffffffffffff
exec with pipes and fileevents leaks ~2Mb everytime |
| User & Date: | ferrieux on 2008-05-30 06:43:36 |
Changes
- icomment:
Logged In: YES user_id=496139 Originator: NO Will be trying the first of a two-step strategy shortly: (1) Since pipes are now waitable in all living Windows, replace the blocking ReadFile in PipeReaderThread with a WaitForMultipleObjects of both the pipe and the event object. This way, the thread will spend all its life in a state where it can be gracefully asked to leave by signalling the event, hence removing the need for TerminateThread. (2) Overhaul the pipe event source so that the pipe's handle is directly monitored by the notifier's central WaitForMultipleObjects. (For this one I would love to have David's help ;-)
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"