|
On Tue, 18 Feb 2003, Jeff Markel wrote: > > Anyway, I can't seem to wrap my mind around what is meant by a "thread." The > AS/400 documentation text for both "thread" and "tbreak" don't seem to > define it, and the Interactive Source Debugger manual doesn't even have an > index entry for it. (Under 'T' there are only two entries!) > Some programming languages (Java, C, etc) allow programs to have more than one "thread." This allows a single program to "multitask", i.e. have more than one "thread of execution" at the same time. You know how your computer can run more than one program at a time using different jobs? Such as multiple batch jobs running at the same time, or multiple users at different displays? Threads are kind-of like that.... except that you'd have these multiple threads running inside a single program (as opposed to different programs in different jobs), able to share access to the same resources such as variables and procedures. I hope this is making sense, I'm finding it hard to explain... :) At any rate, RPG does not support threads at this time. So, if you're an RPG programmer, you don't have to worry about it. Threads don't exist in the older-style (OPM) programs. That's why ISDB does not have support for them.
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.