On 10/26/2026 3:01 AM, bolt…@caprica.universe wrote:
> On Sun, 25 Oct 2026 14:19:14 -0700 > "Chris M. Thomasson" <chri…@gmail.com> gabbled:
>> On 10/25/2026 1:34 AM, bolt…@caprica.universe wrote:
>>> On Sat, 24 Oct 2026 13:57:02 -0400 (EDT) >>> klud…@panix.com (Scott Dorsey) gabbled:
>>>> In article <11bi…@dont-email.me>, >>>> Peter Flass  <Pet…@Iron-Spring.com> wrote:
>>>>> You can have co-operative threads. IBM CICS used to run lots of threads >>>>> (tasks) concurrently, and ran them well.
>>>> >>>> When I learned C, there was no threading and there were only different >>>> processes, so you had to do a fork and then synchronize with the other >>>> process.  This wasn't a dealbreaker and we did plenty of stuff that way, >>>> but having threads available was very nice and made for many operations >>>> becoming more convenient to write.
>>> >>> Unfortunately most win32 programmers don't really understand multiprocess >>> programming because the w32 API is so borked so use threads even when >>> seperate process would be more appropriate. >>> >>>
>> >> Windows has what we need to run multi process. Even for a Mutex... Remember WAIT_ABANDONED?
> > win32 can't do fork() making it effectively a totally useless API for a lot of multiprocess development.
Afaict, its not useless.
> Creating a brand new process is fine if > you don't need any complicated shared state such as when kicking off something > on the command line or creating a pipe (something else win32 is shit at) but > thats about it. >
Shared state? Just use memory mapped files. You don't need pipes/sockets etc. You need to know how to properly sync things.