Abstract

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.

Keywords:
Computer science Thread (computing) Scalability Context switch Multithreading Stack (abstract data type) Shared memory Parallel computing Threading (protein sequence) Address space Distributed computing Event-driven programming Programming paradigm Overhead (engineering) Call stack Distributed shared memory Computer architecture Operating system Memory management Reactive programming Programming language Inductive programming Uniform memory access

Metrics

10
Cited By
1.29
FWCI (Field Weighted Citation Impact)
13
Refs
0.81
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Energy Efficient Wireless Sensor Networks
Physical Sciences →  Computer Science →  Computer Networks and Communications
IoT and Edge/Fog Computing
Physical Sciences →  Computer Science →  Computer Networks and Communications
Context-Aware Activity Recognition Systems
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition

Related Documents

JOURNAL ARTICLE

A model of cooperative threads

Martı́n AbadiGordon Plotkin

Year: 2009 Pages: 29-40
JOURNAL ARTICLE

A model of cooperative threads

Martı́n AbadiGordon Plotkin

Journal:   ACM SIGPLAN Notices Year: 2009 Vol: 44 (1)Pages: 29-40
JOURNAL ARTICLE

A Model of Cooperative Threads

Martín AbadiGordon D. Plotkin

Journal:   Logical Methods in Computer Science Year: 2010 Vol: Volume 6, Issue 4
BOOK-CHAPTER

Threads and Shared Variables in C++

Hans J. Boehm

Year: 2011 Pages: 67-90
JOURNAL ARTICLE

Feasible Reactivity for Synchronous Cooperative Threads

Roberto M. AmadioFrédéric Dabrowski

Journal:   Electronic Notes in Theoretical Computer Science Year: 2006 Vol: 154 (3)Pages: 33-43
© 2026 ScienceGate Book Chapters — All rights reserved.