@article{ART002102083},
author={Yong-Seok Kim},
title={An Implementation of Single Stack Multi-threading for Small Embedded Systems},
journal={Journal of The Korea Society of Computer and Information},
issn={1598-849X},
year={2016},
volume={21},
number={4},
pages={1-8}
TY - JOUR
AU - Yong-Seok Kim
TI - An Implementation of Single Stack Multi-threading for Small Embedded Systems
JO - Journal of The Korea Society of Computer and Information
PY - 2016
VL - 21
IS - 4
PB - The Korean Society Of Computer And Information
SP - 1
EP - 8
SN - 1598-849X
AB - In small embedded systems including IoT devices, memory size is very small and it is important to reduce memory amount for execution of application programs. For multi-threaded applications, stack may consume a large amount of memory because each thread has its own stack of sufficiently large size for worst case. This paper presents an implementation of single stack multi-threading, called SSThread (Single Stack Thread), by sharing a stack for all threads to reduce stack memory size. By using SSThread, multi-threaded applications can be programmed based on normal C language environment and there is no requirement of transporting multi-threading operating systems. It consists of several library functions and various C macro definitions. Even though some functional restrictions in comparison to operating systems supporting complete multi-thread functionalities, it is very useful for small embedded systems with tiny memory size and it is simple to setup programming environment for multi-thread applications.
KW - Multi-threading;Stack sharing;C preprocessor;IoT
DO -
UR -
ER -
Yong-Seok Kim. (2016). An Implementation of Single Stack Multi-threading for Small Embedded Systems. Journal of The Korea Society of Computer and Information, 21(4), 1-8.
Yong-Seok Kim. 2016, "An Implementation of Single Stack Multi-threading for Small Embedded Systems", Journal of The Korea Society of Computer and Information, vol.21, no.4 pp.1-8.
Yong-Seok Kim "An Implementation of Single Stack Multi-threading for Small Embedded Systems" Journal of The Korea Society of Computer and Information 21.4 pp.1-8 (2016) : 1.
Yong-Seok Kim. An Implementation of Single Stack Multi-threading for Small Embedded Systems. 2016; 21(4), 1-8.
Yong-Seok Kim. "An Implementation of Single Stack Multi-threading for Small Embedded Systems" Journal of The Korea Society of Computer and Information 21, no.4 (2016) : 1-8.
Yong-Seok Kim. An Implementation of Single Stack Multi-threading for Small Embedded Systems. Journal of The Korea Society of Computer and Information, 21(4), 1-8.
Yong-Seok Kim. An Implementation of Single Stack Multi-threading for Small Embedded Systems. Journal of The Korea Society of Computer and Information. 2016; 21(4) 1-8.
Yong-Seok Kim. An Implementation of Single Stack Multi-threading for Small Embedded Systems. 2016; 21(4), 1-8.
Yong-Seok Kim. "An Implementation of Single Stack Multi-threading for Small Embedded Systems" Journal of The Korea Society of Computer and Information 21, no.4 (2016) : 1-8.