[fpc-devel] daemonapp 100% cpu easting fix
    Steve Howe 
    howesteve at gmail.com
       
    Sat Nov 17 14:07:04 CET 2007
    
    
  
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 ? 
-- 
Best Regards,
Steve Howe
    
    
More information about the fpc-devel
mailing list