멀티 쓰레드 기반 센서 운영체제 환경에서의 스택 할당방법
    1.
    发明授权
    멀티 쓰레드 기반 센서 운영체제 환경에서의 스택 할당방법 失效
    多通道传感器操作系统环境中分配堆栈的方法

    公开(公告)号:KR100846451B1

    公开(公告)日:2008-07-16

    申请号:KR1020070029595

    申请日:2007-03-27

    Abstract: 본 발명은 멀티 쓰레드 기반 센서 운영체제 환경에서의 스택 할당 방법에 관한 것으로, 쓰레드(Thread)가 필요로 하는 만큼의 스택 영역(Stack Space)의 할당을 동적으로 수행함으로써, 스택 영역을 보다 효율적으로 활용할 수 있도록 한 멀티 쓰레드 기반 센서 운영체제 환경에서의 스택 할당 방법에 관한 것이다.
    본 발명에 따른 멀티 쓰레드 기반 센서 운영체제 환경에서의 동적 스택 할당 방법은, 쓰레드의 작업 수행 중에 함수의 호출 시마다 상기 호출된 함수에 의해 사용될 스택 영역을 동적으로 할당하는 단계와, 상기 함수의 실행이 종료되면 상기 할당된 스택 영역을 반납하는 단계를 포함한다.
    무선 센서 네트워크, 센서 운영체제, 스택, 멀티 쓰레드, 임베디드 시스템

    멀티 쓰레드 기반 센서 운영체제 환경에서의 스택 할당방법
    2.
    发明公开
    멀티 쓰레드 기반 센서 운영체제 환경에서의 스택 할당방법 失效
    多通道传感器操作系统环境中分配堆栈的方法

    公开(公告)号:KR1020080054324A

    公开(公告)日:2008-06-17

    申请号:KR1020070029595

    申请日:2007-03-27

    Abstract: A method for allocation stack in a multi-threaded sensor OS(Operating System) environment is provided to allocate a thread stack with space efficiency in a sensor OS operated in a space restricted sensor platform and reduce usage of a memory space remarkably more than a usual static thread stack allocation method. A stack space used by a called function is allocated by estimating the size of the allocated stack space based on the size of local variables and the number of function factors used by the function when the function is called during execution of the thread(220). A stack pointer is moved to point the allocated stack space(230). A factor and a return address of the function are stored in the stack space(240). The function is returned when the function is terminated(270). The stack pointer is restored and the allocated stack space is returned(280).

    Abstract translation: 提供了一种用于多线程传感器OS(操作系统)环境中的分配堆栈的方法,以在空间受限传感器平台中操作的传感器OS中分配具有空间效率的线程栈,并且显着地减少了存储器空间的使用 静态线程栈分配方法。 通过在执行线程(220)期间调用函数时,基于局部变量的大小和函数使用的函数因子的数量估计分配的​​堆栈空间的大小来分配由被调用函数使用的堆栈空间。 移动堆栈指针以指定分配的堆栈空间(230)。 函数的因子和返回地址存储在堆栈空间(240)中。 功能终止时返回该功能(270)。 堆栈指针被还原并返回分配的堆栈空间(280)。

Patent Agency Ranking