On Sun, 25 Oct 2026 08:41:48 -0000 (UTC) bolt…@caprica.universe wrote:
> On Sun, 25 Oct 2026 00:28:19 -0000 (UTC) > cro…@spitfire.i.gajendra.net (Dan Cross) gabbled:
> >In article <2026…@yahoo.com>,
> >>Now, would it be the first thing I would want like addition to C++ > >>standard library? No it would not be. > >>The first thing would be IPv4 communication, sockets, poll etc...
> > > >POSIX has all of that. POSIX also has a process model. Why not > >just make POSIX a part of the language, then? (Answer that and > >you may start to understand why this is harder than it looks > >for C++ [and C].)
> > No, it isn't. How similar do you think the posix and windows threading > model/api are? Yet somehow C++ provides a common wrapper for both.
Actually, implementing C++11 (or C11) threads fully in user space on pre-Vista Win32 (i.e. before addition of support for conditional variables to OS API) would be quite challenging. I don't know if anybody bothered. I think that it is possible, but if you want it robust then it (cond. variables) will cost you significant overhead relatively to "native" synchronization primitives.
> There is no reason the same can't be done for processes and your > irrelevant waffle about past issues of threading on *nix don't change > that. >
Dick-measuring competitions are integral part of Usenet tradition.