On Fri, 2001-11-30 at 15:27, Anders Lindh wrote:
> 
> I think this has to do with the way some of the SMSC's have been
> implemented. The basic pattern is that the smsc code fires up a thread
> or two, both of which rotate around an infinite loop. Depending on how
> polling of incoming data is done, these loops may well consume a lot
> processing power. This is what I noticed while implementing the smsc_cgw
> code (or, I did precisely the same thing). I solved it by making the
> threads sleep some small amount of time (with pollfd) while waiting for
> data. 
> 

In my case this is smsbox eating cpu, not bearerbox.



br
R.



Reply via email to