On Sun, 25 Oct 2026 08:37:22 -0000 (UTC) bolt…@caprica.universe wrote:
> On Sat, 24 Oct 2026 21:24:58 -0000 (UTC) > cro…@spitfire.i.gajendra.net (Dan Cross) gabbled:
> >In article <11bj…@dont-email.me>, > >Peter Flass <Pet…@Iron-Spring.com> wrote:
> >>On 10/24/26 09:41, Dan Cross wrote:
> >>> In article <11bh…@dont-email.me>, > >>> <bolt…@caprica.universe>
> >wrote:
> >>>> On Fri, 23 Oct 2026 20:45:27 -0000 (UTC) > >>>> cro…@spitfire.i.gajendra.net (Dan Cross) gabbled:
> >>>>> In article <11bf…@dont-email.me>, > >>>>> <bolt…@caprica.universe>
> >wrote:
> >>>>>> On Thu, 22 Oct 2026 16:22:30 -0000 (UTC) > >>>>>> cro…@spitfire.i.gajendra.net (Dan Cross) gabbled:
> >>>>>>> In article <11bd…@dont-email.me>, > >>>>>>> <bolt…@battlestar.co.uk>
> >wrote:
> >>>>>
> >>>>>>>> You need an OS to do threading properly too. Theres a reason > >>>>>>>> green
> >threads
> >>>>>>>> in java were a joke.
> >>>>>>> > >>>>>>> Weird that you think you need a operating system for threads, > >>>>>>> yet you want C to standardize processes which also ... need an > >>>>>>> operating system. I mean, POSIX already does an ok job of > >>>>>>> standardizing the sorts of process-y things you would expect > >>>>>>> from, you know, an operating system.
> >>>>>> > >>>>>> I'm simply pointing out the inconsistency in having a > >>>>>> threading library
> >but
> >>>>>> not a process library. Its perfectly possible to simulate a > >>>>>> multiprocess enviroment.
> >>>>> > >>>>> So write a simulator in your language of choice. You don't need > >>>>> the language to standardize a process model for that.
> >>>> > >>>> Ditto threads. So why does C++ have a threading library? > >>>> > >>>> Take your time...
> >>> > >>> What, pray tell, do you think that a _thread_ is? And how is it > >>> different from a _process_? For that matter, what do you think > >>> that a _process_ is? > >>> > >>> Please, take all the time you need to answer.
> >> > >>Threads share resources such as address space, files, etc. A > >>process runs in its own address space. (at least these days, before > >>virtual memory, who knows?)
> > > >Indeed, but I'm hoping Mr Boltar will chime in with his answers, > >so that we can understand why thinks that a language like C > >should introduce a *process* model, and how threads are similar.
> > Who mentioned C? I was talking about C++ which has a threading API > already. Do try and keep up. >
In that regard, C and C++ are very similar. Similar primitives modeled mostly on Posix threads were added to both languages at approximately the same time. https://en.cppreference.com/c/thread The difference is not in this specific case, but in generally more conservative attitude of C committee relatively to its C++ counterpart w.r.t. extending Standard library.