Very nice component suite. Thanks Alan.

Using a combination of the suggestions you all made, the CPU usage is no
longer an issue. Thanks to all who helped.
And a special thanks to the staff at belding.co.nz whose continual replies
did not contain a single bad suggestion!

Cheers,
Phil.
----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 15, 2004 1:54 PM
Subject: RE: [DUG] Thread processes


> If your looking for a good interupt com component check out APRO at
> http://sourceforge.net/projects/tpapro/
>
>
> >>-----Original Message-----
> >>From: Neven MacEwan [mailto:[EMAIL PROTECTED]
> >>Sent: Friday, 15 October 2004 11:34 a.m.
> >>To: NZ Borland Developers Group - Delphi List
> >>Subject: Re: [DUG] Thread processes
> >>
> >>
> >>Phil
> >>
> >>The old polling v interupt driven process problem
> >>since you are polling you can prob only poll say every
> >>period that could only cause the buffer to be 1/2 full
> >>
> >>
> >>Neven MacEwan (B.E. E&E)
> >>Ph. 09 621 0001 Mob. 0274 749062
> >>
> >>
> >>
> >>Phil Middlemiss wrote:
> >>
> >>> I have a thread that sits in the background waiting for
> >>input from a
> >>> COM port. the execute method simple has these two lines:
> >>>
> >>>   while not Terminated do
> >>>     Application.ProcessMessages;
> >>> The problem with this is that the processor usage is very
> >>high, even
> >>> if the thread is doing nothing but sitting there calling
> >>processmessages.
> >>>
> >>> The main application thread doesn't have this problem, yet
> >>it also has
> >>> a message handling routine. Is there a way to avoid this problem in
> >>> threads?
> >>>
> >>> Cheers,
> >>> Phil.
> >>>
> >>>-------------------------------------------------------------
> >>-----------
> >>>
> >>>_______________________________________________
> >>>Delphi mailing list
> >>>[EMAIL PROTECTED]
> >>>http://ns3.123.co.nz/mailman/listinfo/delphi
> >>>
> >>>
> >>_______________________________________________
> >>Delphi mailing list
> >>[EMAIL PROTECTED]
> >>http://ns3.123.co.nz/mailman/listinfo/delphi
> >>
> _______________________________________________
> Delphi mailing list
> [EMAIL PROTECTED]
> http://ns3.123.co.nz/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to