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, et al.

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:
I am not saying they cannot.
But you did. You said "because RPG programs are not thread-safe"
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 multi-threaded c programs.

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 learn or train or get adopted.
Whatever the reason is that's fine, it's still your choice.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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