Re: [twsocket] Large amount of OnDataAvailable calls and timer/frozen main thread

2006-10-31 Thread Markus Humm
Hello, I tried the direct calling of the timer without succes (I think some of the affected VCL-components [like ListView and JvSimScope from JEDI] need windows messages for their updating as well). I also tried the thread based approach but without success. If I pack the ICS communication into a

Re: [twsocket] Large amount of OnDataAvailable calls and timer/frozen main thread

2006-10-27 Thread Angus Robertson - Magenta Systems Ltd
> - if the client sends requests as a huge bulk > (e.g. 10.000 requests in a relatively [not completely] tight loop) > the statistics don't get updated for a while > - in OnDataAvailabe check whether at least 1 sec. has been elapsed > and the manually call OnTimer. I've done that, the OnTimer

[twsocket] Large amount of OnDataAvailable calls and timer/frozen main thread

2006-10-27 Thread Markus Humm
Hello, I've the following case: - VCL mainform with a timer which updates some statistics shown once a second - TWSocket as TCP-Server which gets requests from a client - if the client sends requests as a huge bulk (e.g. 10.000 requests in a relatively [not completely] tight loop) the stati