In this paper, we introduceprotothreads,a programming abstraction for event-drivensensor networksystems. Protothreads simplify implementation of high-level functionality on top of event-driven systems, without signicantly increasing the memory requirements. The memory requirement of a protothread is that of an unsigned integer.
文档内容节选
Using Protothreads for Sensor Node Programming Adam Dunkels Swedish Institute of Computer Science adamsicsse Oliver Schmidt oliverjantzer schmidtde Thiemo Voigt Swedish Institute of Computer Science thiemosicsse ABSTRACT Wireless sensor networks consist of tiny devices that usually have severe resource constraints in terms of energy process ing power and memory In order to work ecid14ciently within the constrained memory many operating systems for such devices are based on an eventdriven model r......