Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/13/11 22:04
Read: times


 
#180571 - a similar discussion...
Responding to: ???'s previous message
... spawned last weekend on a local hw-related forum, incidentally. A proponent of RTOS suggested, that [once the RTOS is mastered] many problems can be solved faster and easier than without it. Surely, there is a class of applications which can benefit from a certain style of programming (other might suffer from it, yet another might be in between). And, surely, there are developers who specialise in that class of applications (even if they might not be aware of this fact).

And then he came up with an example where the RTOS has a true edge over any other solution. In fact, it is a canonical example of the problem what the RTOS solves the best, even if I am not sure the proponent was aware of this. Imagine an application receiving a serial stream and decoding it in some way. Imagine, that the incoming data are large, say in packets of hundreds of bytes (so it's impractical to impossible to store them all), but the decoder in fact extracts only a few bytes of information of them, so it needs only a few local variables. And now imagine, that you have several serial ports, and all of them receive the same protocol and have to run the same decoder, simultaneously.

---

Oh yes, we all surely know that the "real time" expression in "RTOS" is only a marketing buzzword, and the real benefits lie completely elsewhere... :-)

JW


List of 23 messages in thread
TopicAuthorDate
it just struck me, is this why RTOS 'need' is so prevalent?            01/01/70 00:00      
   Two Camps Here            01/01/70 00:00      
   Best Practice            01/01/70 00:00      
   a similar discussion...            01/01/70 00:00      
      I have always maintained the belief...            01/01/70 00:00      
         "non-arbitrary" ?            01/01/70 00:00      
            "Real" Processing exposed            01/01/70 00:00      
               Too Specific            01/01/70 00:00      
               sweeping generalisation            01/01/70 00:00      
                  RTOS are very useful            01/01/70 00:00      
                     I think this got away ...            01/01/70 00:00      
                        Blocking/nonblocking I/O            01/01/70 00:00      
                        Not The only reason            01/01/70 00:00      
                  I considered developer effort            01/01/70 00:00      
                     code generator            01/01/70 00:00      
                        Another neat feature            01/01/70 00:00      
                           there is such an attachment ...            01/01/70 00:00      
                           Lots of tools available            01/01/70 00:00      
                              not really            01/01/70 00:00      
                           Lots of C tools            01/01/70 00:00      
                              widespread            01/01/70 00:00      
                                 Missed the point!            01/01/70 00:00      
                                    Ecosystem            01/01/70 00:00      

Back to Subject List