|
On Fri, 11 Feb 2005 10:40:13 -0600, Bruce Vining <bvining@xxxxxxxxxx> wrote: > > > >From the V5R3 Information Center: thanks Bruce. > ...Interactive and communication jobs do no provide multithread-capable > support. that stinks! I was going to try and implement a message loop style of programming in an interactive job. The idea being to use the C record io functions for display file i/o in a 2nd thread of the job. A 3rd thread might wait on an object lock. or do a dlyjob. I was thinking you could even use RCVJRNE to place a message on the message loop queue when a record was added to a file. All the threads then feed their input to the data queue that the interactive job receives from as its message loop. Was not sure if I could cancel a display file read in the background thread without using INVITE or not. Too bad IBM places all these restrictions on their system. thanks, -Steve
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.