The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
May. 24, 2022

Filed:

Jan. 02, 2020
Applicant:

International Business Machines Corporation, Armonk, NY (US);

Inventors:

Suman Mitra, Bangalore, IN;

Gireesh Punathil, Kannur, IN;

Vipin M V, Palakkad, IN;

Attorney:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 9/50 (2006.01); G06F 9/54 (2006.01); G06F 9/455 (2018.01);
U.S. Cl.
CPC ...
G06F 9/5055 (2013.01); G06F 9/455 (2013.01); G06F 9/54 (2013.01); G06F 2209/508 (2013.01); G06F 2209/5011 (2013.01); G06F 2209/5018 (2013.01);
Abstract

Execution of varying tasks for heterogeneous applications running in a single runtime environment is managed. The runtime environment is capable of managing thread pools for any of the plurality of applications and receives a request to manage a thread pool for one of the applications. The request includes size thresholds for the pool, a first function to be invoked for creation of threads, and a second function to be invoked for termination of the threads. Responsive to detecting that a first size threshold is not satisfied, the runtime environment invokes the first function to cause the application to create an additional thread. Responsive to detecting that a second size threshold is not satisfied, the runtime environment places an artificial task that incorporates the second function into a work queue for the thread pool, whereby a thread executes the artificial task to invoke the second function and thereby terminates.


Find Patent Forward Citations

Loading…