Invention Grant
US09507637B1 Computer platform where tasks can optionally share per task resources
有权
计算机平台,其中任务可以可选地共享每个任务资源
- Patent Title: Computer platform where tasks can optionally share per task resources
- Patent Title (中): 计算机平台,其中任务可以可选地共享每个任务资源
-
Application No.: US13962660Application Date: 2013-08-08
-
Publication No.: US09507637B1Publication Date: 2016-11-29
- Inventor: Winthrop Lyon Saville, III
- Applicant: Google Inc.
- Applicant Address: US CA Mountain View
- Assignee: Google Inc.
- Current Assignee: Google Inc.
- Current Assignee Address: US CA Mountain View
- Agency: McDonnell Boehnen Hulbert & Berghoff LLP
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/50

Abstract:
Disclosed are apparatus and methods for managing thread resources. A computing device can generate threads for an executable application. The computing device can receive an allocation request to allocate thread-specific memory for an executable thread of the threads, where thread-specific memory includes a call stack for the executable thread. In response to the allocation request, the computing device can: allocate the thread-specific memory and indicate that the executable thread is ready for execution. The computing device can execute the executable thread. The computing device can receive a sleep request to suspend executable thread execution. In response to the sleep request, the computing device can determine whether the allocated thread-specific memory is to be deallocated. After determining that the allocated thread-specific memory is to be deallocated: the thread-specific memory can be deallocated and an indication that the executable thread execution is suspended can be provided.
Information query