发明申请
- 专利标题: EMBEDDED SYSTEMS AND METHODS FOR THREADS AND BUFFER MANAGEMENT THEREOF
- 专利标题(中): 嵌入式系统及其线程和缓冲区管理方法
-
申请号: US13550223申请日: 2012-07-16
-
公开(公告)号: US20130145372A1公开(公告)日: 2013-06-06
- 发明人: Hsin-Yi LIU , Chih-Chiang KAO , Cheng-Hung PAN , Chun-Tai YEN
- 申请人: Hsin-Yi LIU , Chih-Chiang KAO , Cheng-Hung PAN , Chun-Tai YEN
- 申请人地址: TW Taipei
- 专利权人: INSTITUTE FOR INFORMATION INDUSTRY
- 当前专利权人: INSTITUTE FOR INFORMATION INDUSTRY
- 当前专利权人地址: TW Taipei
- 优先权: TW100144113 20111201
- 主分类号: G06F9/46
- IPC分类号: G06F9/46 ; G06F13/28
摘要:
Embedded systems are provided, which includes a processing unit and a memory. The processing unit simultaneously executes first thread having a flag for performing a data acquisition operation and second thread for performing a data process and output operation for the acquired data in the data acquisition operation. The flag is used for indicating whether a state of the first thread is in an execution state or a sleep state. The memory which is coupled to the processing unit provides a shared buffer for the first and second threads. Before executing the second thread, the flag is checked to determine whether to execute the second thread, wherein the second thread is executed when the flag indicates the sleep state while execution of the second thread is suspended when the flag indicates the execution state.
公开/授权文献
信息查询