On Wed, 28 Oct 2026 08:58:55 -0000 (UTC)
bolt…@caprica.universe wrote:
> On Mon, 26 Oct 2026 21:45:17 +0200
> Michael S <alre…@yahoo.com> gabbled:
> >On Mon, 26 Oct 2026 16:16:46 -0000 (UTC)
> >bolt…@caprica.universe wrote:
> >
> >> On Mon, 26 Oct 2026 14:41:54 GMT
> >> sco…@slp53.sl.home (Scott Lurndal) gabbled:
> >> >bolt…@caprica.universe writes:
> >> >>C++ threading didn't have 3 level locking until 2017 making it
> >> >>effectively useless IMO. Perhaps that was down to the lowest
> >> >>common denominator called Windows.
> >> >>
> >> >
> >> >Mind defining your terminology? "3 level locking", in
> >> >particular?
> >>
> >> If you have to ask....
> >>
> >> 1. No lock
> >> 2. Write lock - Read only access, writer blocked until all readers
> >> out of critic al section)
> >> 3. Read-write lock - all threads other than the one in section
> >> block)
> >
> >Windows got Slim Reader/Writer Locks in Vista (2006-11) at the same
> >time as conditional variables. 5 years before C++11.
>
> And unix got pthreads in 1995. Windows a decade late as usual.
>
That's like if I'd say that Linux is 33 years (and counting) late
because it has no QueueUserAPC(). Of course, I am smarter than saying
such nonsense.
More relevantly, Windows (Win32) has preemptive kernel-scheduled threads
+ assortment of synchronization primitives since very beginning (1993)
- ahead of many Unixen and behind some of them. Certainly ahead of
Posix standardisation of threads.