IMHO, it's significantly easier to code thread safe RPG programs vs. C
programs. RPG has built-in support for ensuring static variables are
separated for each thread, for serializing multi-threaded access, etc.
In C, you have to code those things yourself using mutexes, semaphores,
So, I agree with Chris.. you're definitely not "crazy to do it".
Though, in general, I would avoid multi-threaded programming in any
language unless there's a really good reason to use it. But, writing a
TCP network server is one environment where it often makes sense.
On 10/27/2021 12:19 PM, Hiebert, Chris wrote:
multi-threaded c programs.But you did. You said "because RPG programs are not thread-safe"I am not saying they cannot.
Don't report that the language is not thread-safe, when it is.
C programs are not always thread-safe either. But people still code
learn or train or get adopted.
I am just saying you are crazy to do it.
Exactly. So you choose not to use it. Because it's too hard for you to
Whatever the reason is that's fine, it's still your choice.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
Help support midrange.com by shopping at amazon.com with our affiliate
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.