Re: [PATCH] Fix EMI unacked message detection in windowing mode
Vincent CHAVANIS <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | TELEMAQUE |
| Message-ID | <[email protected]> |
Hi Olivier, So, you will loop 100 times (in most cases for nothing) to find any unacked msg ? This is useless CPU usage don't you think ? Vincent Le 08/07/2010 10:52, Olivier Dormond a écrit : > Hello, > > Here is a patch against 1.4.3 to fix the detection of non-acked > messages sent through EMI/UCP. The problem arise when the window > parameter is set to a non-default value. In this case the loop in > emi2_idleprocessing which search for unacked messages only examine > the first "window" messages of the ring-buffer and thus misses any > unacked message with a trn higher then "window". > > Cheers, > > Olivier > -- Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR) Service Technique/Reseau - NOC Direction du Developpement xMS+ http://www.telemaque.fr/ [email protected] Tel : +33 4 92 90 99 84 (fax 9142)