This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Tasks are low priority and cannot interrupt a higher priority item. asyn keyword defines a task ask asynchronous. An asyn task can only preempt other asyn tasks. nesC is the language used for programming modules. They are turned into C code, then into assembly. Wiring: user.interface provider.interface myApp.Timer FastClocker.Timer myApp.Timer FastClocker (.Timer is implied) It would be wise to use atomic statements when building buffers. But dont use them too frequently (or in a sequence) or this defeats the purpose of sharing the processor. Also make sure they run quickly. Example: Crossbow (xbow.com) Make Motes for Sensor nodes AM_INTMSG = Active Message Interrupt Message CSC 7103 9/10/2009 Page 2 of 2...
View Full Document
- Fall '08
- Operating Systems