Shared-stack cooperative threads
Boncheol Gu, Yongtae Kim, Junyoung Heo et al. · ACM Symposium on Applied Computing · 2007
Multithreaded sensor operating systems provide the paradigm of threads which enables programmers to program and maintain their applications more easily. However, a lot of memory space can be wasted due to the fact that a fixed-size stack is allocated for each thread. In this paper, we propose the shared-stack cooperative threads which can combine the simplicity of the multithreaded programming with the performance and scalability of event-driven systems. Our experimental results show that shared-stack cooperative threads utilize memory space more efficiently with some affordable context switching overhead for threading while providing programmers with the ease of multithreaded programming.
Cited by 10 works. doi:10.1145/1244002.1244258
Authors
References
- Contiki - a lightweight and flexible operating system for tiny networked sensors
- Guest Editors' Introduction: Overview of Sensor Networks
- Sensor networks: an overview
- A dynamic operating system for sensor nodes
- MANTIS OS: An Embedded Multithreaded Operating System for Wireless Micro Sensor Platforms
- Cooperative Task Management Without Manual Stack Management
- Why Threads Are A Bad Idea (for most purposes)
- Why events are a bad idea (for high-concurrency servers)
- Using Protothreads for Sensor Node Programming
- Threads without the Pain