Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Apr : Are you experiencing: Threads / stepping / stalls entire machine ?
| Subject: | Are you experiencing: Threads / stepping / stalls entire machine ? |
| Posted by: | "dk_sz" (dk_..@hotmail.com) |
| Date: | Thu, 13 Apr 2006 17:33:51 |
I raised this issue in the .ide group couple of days ago
(subject: "Threads / stepping / stalls entire machine")
The basic problem I, and more, experience is:
I can have VCL thread : doing nothing
I can have one thread : doing whatever simple/complex stuff
(like : " LocalVarString := LocalVarString ")
And everything just stalls....
I mean Delphi, Windows... everything! However,
most notably, Winamp can continue to play music...
This, and the fact that is takes e.g. Windows a minut
to respond to a mouseclick / draw a dialog box, has
led me to suspect that it has something to do with
system wide Windows messages ?
(perhaps something with thread priorities?)
As long as no exceptions are thrown
(which forces Delphi IDE into breakpoint'ish state)
-- and one does not set breakpoints oneself -- it runs fine.
I have been testing program, results etc. on a varity
of user machines + own (including HT and dual cpu)
etc. for couple of years, and I have never seen any
"mysterious" behavior / data.
I am asking this here because
a) Many of you use multi threading stuff
b) Perhaps some of you know what happens "deep inside"
Windows/Delphi/CPU when steeping through code
best regards
Thomas