× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



From: "James Rich" <james@eaerich.com>
> I'm unsure of the capabilities of *new* RPG programs to take advantage of
> multi-threading.  Multi-threaded apps have ops such as thread_create(),
> thread_lock(), thread_destroy(), etc. (or some variation).  RPG doesn't
> have these ops as far as I know.  Perhaps the compiler can do some fancy
> magic to enable threading but it seems unlikely.

The RPG compiler only builds single threaded modules.  There is a "Thread
Serialize" keyword that makes it safe to call an RPG module from a
multi-threaded application.  I received a note once from a guy who said he
used System APIs within an RPG program to create multiple threads.  Hans
Bolt, and Barbara Morris of the RPG compiler team once said they wouldn't
recommend it.

There doesn't seem to be much demand for multi-threaded RPG.  Did you have
an application in mind?

Nathan M. Andelin
www.relational-data.com




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.