Re: wininet: Remove the custom thread pool implementation and use QueueUserWorkItem instead.

2007-01-04 Thread Jacek Caban
Robert Shearman wrote: Hi Jacek, Thanks for looking through the patch. Jacek Caban wrote: Why do you copy lpRequest to workRequest? You could use lpRequest in asyncproc and WININET_Release and call HeapFree before return. Then workRequest may be removed. Two reasons: 1. This was how the code

Re: wininet: Remove the custom thread pool implementation and use QueueUserWorkItem instead.

2007-01-04 Thread Robert Shearman
Hi Jacek, Thanks for looking through the patch. Jacek Caban wrote: Why do you copy lpRequest to workRequest? You could use lpRequest in asyncproc and WININET_Release and call HeapFree before return. Then workRequest may be removed. Two reasons: 1. This was how the code did it before - I copie

Re: wininet: Remove the custom thread pool implementation and use QueueUserWorkItem instead.

2007-01-04 Thread Jacek Caban
Hi Rob, Robert Shearman wrote: --- dlls/wininet/internet.c | 184 +-- dlls/wininet/internet.h |3 - 2 files changed, 19 insertions(+), 168 deletions(-) This also fixes a bug in the old code where starting a new asynchronous operation with mor