Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Apr : Re: Are you experiencing: Threads / stepping / stalls entire machine ?

www.cryer.info
Managed Newsgroup Archive

Re: Are you experiencing: Threads / stepping / stalls entire machine ?

Subject:Re: Are you experiencing: Threads / stepping / stalls entire machine ?
Posted by:"Frans van Daalen" (account@is.invalid)
Date:Sat, 15 Apr 2006 11:03:19

>
> 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.
>

D7, DLL with 10+ threads in debug will maybe once per 100 debug sessions
generate this problem. Wxp pro will become extreem slow needs indeed like
5min to bring a screen in focus. If I recall correctly it will happen only
if I debug and break the run and debug again, break, run etc.....

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive