METHOD OF ALLOCATING STACK IN MULTI-THREADED SENSOR OPERATING SYSTEM ENVIRONMENT
First Claim
Patent Images
1. A method of dynamically allocating a stack in a multi-threaded sensor operating system environment, the method comprising the steps of:
- whenever a function is called while a thread is performing an operation, dynamically allocating a stack space to be used by the function; and
when execution of the function is finished, returning the allocated stack space.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided is a method of allocating a stack in a multi-threaded sensor operating system environment. The method dynamically allocates as much stack space as is required by a thread, thereby enabling efficient use of stack space. The method includes the steps of: whenever a function is called while a thread is performing an operation, dynamically allocating a stack space to be used by the called function; and when execution of the function is finished, returning the allocated stack space.
-
Citations
16 Claims
-
1. A method of dynamically allocating a stack in a multi-threaded sensor operating system environment, the method comprising the steps of:
-
whenever a function is called while a thread is performing an operation, dynamically allocating a stack space to be used by the function; and when execution of the function is finished, returning the allocated stack space. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of dynamically allocating a stack in a multi-threaded sensor operating system environment, the method comprising the steps of:
-
when a function is called while a thread is performing an operation, allocating stack space to be used by the function; moving a stack pointer to point at the allocated stack space; storing arguments and a return address of the function in the stack space; when execution of the function is finished, returning the function; and restoring the stack pointer, and returning the allocated stack space. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer-readable recording medium storing a computer program for carrying out a method of dynamically allocating a stack, the method comprising the steps of:
-
whenever a function is called while a thread is performing an operation, dynamically allocating a stack space to be used by the function; and when execution of the function is finished, returning the allocated stack space. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification