Article View: comp.lang.fortran
Article #358Re: โThe end of software secrecy is almost upon
From: Michael S
Date: Mon, 26 Oct 2026 19:45
Date: Mon, 26 Oct 2026 19:45
54 lines
3449 bytes
3449 bytes
On Mon, 26 Oct 2026 16:16:46 -0000 (UTC) boltar@caprica.universe wrote: > On Mon, 26 Oct 2026 14:41:54 GMT > scott@slp53.sl.home (Scott Lurndal) gabbled: > >boltar@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. https://learn.microsoft.com/en-us/windows/win32/sync/slim-reader-writer--srw--locks Of course WinXP remained popular for few more years, approximately up until 2nd half of 2010, but that too predates publication of C++11 in 2011-09. > This is basic stuff FFS. C++ finally got around to #2 with > shared_mutex in 2017 and its rather critical for certain algorithms. > > >Assigning a canonical "lock number" to each lock, and failing a lock > >request for a lock with a lower number than that already held is > >a design pattern that has been around since 1980 (in Burroughs > >mainframes it was implemented in hardware). Easy enough to do > >prior to C++17 in software. > > Thats something else entirely. > > >And your assertion that a language that doesn't support it > >intrinsically is "useless" is ridiculous. > > Not useless then, just less useful. > I never ever used what you call "3 level locking", not even by mistake. But then, I don't write complicated apps on "big" computers day in day out.
Technical Details
Message-ID:
<20261026214517.00005217@yahoo.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11amvre$15far$1@dont-email.me> <11bj08r$309uk$1@dont-email.me> <11bj7na$5bt$1@reader2.panix.com> <20261025011151.000038ef@yahoo.com> <11bjif3$7p0$1@reader2.panix.com> <11bkfcc$104cc$1@dont-email.me> <20261025225619.000074a5@yahoo.com> <11bn89f$2s5ol$1@dont-email.me> <SEJDS.60663$GS_e.59175@fx21.iad> <11bnude$2sv8n$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers Subject: Re: โThe end of software secrecy is almost upon Date: Mon, 26 Oct 2026 21:45:17 +0200 Organization: A noiseless patient Spider Lines: 54 Message-ID: <20261026214517.00005217@yahoo.com> References: <11amvre$15far$1@dont-email.me> <11bj08r$309uk$1@dont-email.me> <11bj7na$5bt$1@reader2.panix.com> <20261025011151.000038ef@yahoo.com> <11bjif3$7p0$1@reader2.panix.com> <11bkfcc$104cc$1@dont-email.me> <20261025225619.000074a5@yahoo.com> <11bn89f$2s5ol$1@dont-email.me> <SEJDS.60663$GS_e.59175@fx21.iad> <11bnude$2sv8n$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Mon, 26 Oct 2026 19:45:19 +0000 (UTC) Injection-Info: dont-email.me; logging-data="380409"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/s806nL4Ky5JwK9WnE4IBnOwAupM4Radg="; posting-host="665eb5dca46b9fa671d2a0365f46b6cc" Cancel-Lock: sha1:vBiNcIYyESTpXTpswmg7lU6JnZs= sha256:iXgu1pQPKbQhan9oQqWYPodLZBPbhBRsr3+aGdJYHz4= sha1:ijV9EGYWWRXYW8NknUnTPvwBBX8= sha256:z4UbwilSAOskGNOtRqkX9BZc6Oz6lRFML0psq8w2vWg= X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)