Simple play with etimer <9 supplement to contiki Study Notes>

Source: Internet
Author: User

 

This picture is a supplement to the previous <contiki study note 9>.

Simple play with etimer <9 of contiki Study Notes>

Maybe you are opening the last layer of contiki process;

Maybe there is still a way to go;

Maybe you have opened it...

---------------

Everything is only process; only with process will it be the turn of etimer_process to speak, unless, throwing away all mechanisms, bare metal Implementation of etimer...

Process, what is it? A linked list is still unidirectional. That's all. A slight characteristic is that a node of this linked list may be linked to another linked list-you can think that the two linked lists vertically intersect to 90 °... Of course, this is not a geometric, but a set.

What is etimer? Some timeout mechanism... similar to sleep (). But it also makes itself a linked list. However, any process that uses the etimer mechanism must add the etimer variable set by itself to the etimer linked list. Of course, at the end of the chain, the etimer will remove the chain table without any reason, only a contract.

As a result, communication between processes starts, and there is social networking between processes.

All of these are linked lists. Grasshoppers on the same rope? The more you see the image.

Well, the lower-level contiki OS tries to operate these linked lists. And the application, don't care about these things, even though you can implement a process point of your own...

 

 

 

Email: [email protected]

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.