[fpc-devel] daemonapp 100% cpu easting fix
Michael Van Canneyt
michael at freepascal.org
Sat Nov 17 15:02:47 CET 2007
On Sat, 17 Nov 2007, Steve Howe wrote:
> Hello all,
>
> > > Then CheckControlMessage has a bug. The 'True' means it should wait for
> > > the next message.
> > > But I see no 'virtual' and no code in this function - strange (fpc
> > > 2.3.1).
> >
> > You are right, I committed the 'fix' as initially proposed, but moved it to
> > the unix version of the CheckControlMessage;
> >
> > Checking for this message is not yet implemented on unix. The idea is to
> > open a 'control' socket using simpleIPC and to check on this socket for a
> > message.
> Then the TDaemonThread.CheckControlMessage() method should be declared
> virtual, so that messages could actually be checked for, shouldn't it ?
No, why ? It must simply be implemented globally by default?
If you want to override the default, then of course it should be virtual.
Michael.
More information about the fpc-devel
mailing list