Threaded environment for AS/400
First Claim
1. A method of operating an AS/400 computer system, comprising the steps of:
- applying each of a plurality of asynchronous thread tasks from an application as an input to each of a plurality of thread related batch jobs;
operating each such thread related batch job to perform the thread task applied thereto and produce return data associated with each said thread task;
applying the return data from each such thread related batch job to a single, common queue; and
causing the application to wait on the common queue to sequentially retrieve the return data from each of said thread tasks therefrom.
2 Assignments
0 Petitions
Accused Products
Abstract
An AS/400 computer is provided with a threaded environment by using thread related batch jobs to accept thread tasks and individually apply them to specialized batch jobs that perform the tasks. Return data is applied by the thread related batch jobs to a common queue and the using application is caused to wait on the common queue, thereby overcoming the AS/400 limitation that an application can only wait on one queue at a time. The thread tasks are thereby performed asynchronously while the user application effectively waits on all such thread tasks by waiting on the common queue. The threaded environment maintains a pool of active thread related batch jobs and permits the cloning of new thread related batch jobs from existing thread related batch jobs to efficiently manage the thread pool.
137 Citations
4 Claims
-
1. A method of operating an AS/400 computer system, comprising the steps of:
-
applying each of a plurality of asynchronous thread tasks from an application as an input to each of a plurality of thread related batch jobs; operating each such thread related batch job to perform the thread task applied thereto and produce return data associated with each said thread task; applying the return data from each such thread related batch job to a single, common queue; and causing the application to wait on the common queue to sequentially retrieve the return data from each of said thread tasks therefrom. - View Dependent Claims (2, 3, 4)
-
Specification