RPGIV编程问题百解(17)Multithread(2)JOBQ多线程举例(英文)
Here we have a subsystem called HBATCH with the appropriate JobQ's attached:
Subsystem description: HBATCH Status:
Seq Job Max
Nbr Queue Library Active 1 2 3 4 5 6 7 8 9
5 HBATCH QGPL 1 * * * * * * * * *
10 QBATCH QGPL 9 1 1 1 1 1 1 1 1 1
15 ITEMCONV ITEMCONV 10 * * * * * * * * *
Some termonlogy
---------Max by Priority---------- = Job priorities which we will call threads
JobQ's
HBatch - Truly a single threaded jobq because "Max Active" is set to 1
QBatch - This is a Multi-threaded jobq with single threaded "Job Priority's"
(I will explain)
ItemConv - is truly Multi-threaded jobq in that it has a "Max Active" of 10 and
all it's "Job priority's" are set to * (* = Nomax)
阅读(1239) | 评论(2) | 转发(0) |