<div dir="ltr">Keep in mind that Energia is suppose to make programming very easy, so they are trying to keep balance between complexity of RTOS and easy of use.<div><br></div><div>I will be meeting with Robert Wessels (father of Energia) next month in Dallas, so if you have any comments about Energia MT, I will be more than happy to pass them on.</div><div><br></div><div>Rob.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 14, 2016 at 2:26 PM, Pete Soper via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Alex,<br>
       That multiblink Energia example sketch is very cute, but when I
    started to play with the "Energia MultiTasking" feature I found it
    to be generally useless. It's a novelty. One only has to go to the
    <a href="http://energia.nu" target="_blank">energia.nu</a> description page where they say "
    
    Interprocess communication can easily be done by using global
    variables" to see how messed up this is. There are zero task-related
    primitives available. I thought "OK, I'll make the globals usable
    for communication" and I made a trivial spin lock implementation to
    enable this. Except nobody got around to implementing interrupts()
    and noInterrupts(). I spent a while rummaging through the sources
    and found a very low level routine that might do the job, but then I
    realized what a perfect rat hole I was in. There was an issue filed
    about this in July of last year (#675) and I may add a remark.<br>
      But this is moaning about a feature I had only been vaguely aware
    of, and so as far as I'm concerned the MT examples are really hints
    about the fact that (I think) the entire TI RTOS is sitting inside
    the Energia runtime, and that may be relatively easy to use at some
    point.<br>
      Vanilla sketches with the MSP432 seem to work fine and Energia
    ought to provide lots of fun for folks exploring their boards. But
    I'm popping my stack and going back to exploration of FreeRTOS via
    the mbed/export/gcc path.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    -Pete<br>
    <br>
  </font></span></div>

<br>_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
<br></blockquote></div><br></div>