Invention Grant
- Patent Title: Method for processing parallel tasks in unmanned vehicle system, and unmanned vehicle system
-
Application No.: US16551181Application Date: 2019-08-26
-
Publication No.: US11416287B2Publication Date: 2022-08-16
- Inventor: Wei He , Zhuo Chen , Baisheng Wang , Kaiwen Feng , Ronggui Peng , Chao Zhang
- Applicant: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
- Applicant Address: CN Beijing
- Assignee: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
- Current Assignee: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
- Current Assignee Address: CN Beijing
- Agency: Lathrop GPM LLP
- Priority: CN201811005573.8 20180830
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/48 ; G05D1/00 ; G06F9/38 ; G06F9/54

Abstract:
Embodiments of the present disclosure provide a method and a coroutine framework for processing parallel tasks, a device, a medium and an unmanned vehicle. The method includes: switching a current coroutine to a target coroutine in response to a task switching instruction, in which, the coroutine is created at a user layer for processing a task, and the coroutine at the user layer is executed by a thread at a kernel layer; and saving context of a task processed by the current coroutine, and reading context of a task processed by the target coroutine, such that the thread at the kernel layer corresponding to the target coroutine processes the task based on the context of the target coroutine when executing the target coroutine.
Public/Granted literature
- US20200073711A1 METHOD AND COROUTINE FRAMEWORK FOR PROCESSING PARALLEL TASKS, DEVICE, MEDIUM, AND UNMANNED VEHICLE Public/Granted day:2020-03-05
Information query