Article View: comp.lang.c++
Article #419Re: โThe end of software secrecy is almost upon
From: boltar
Date: Mon, 26 Oct 2026 16:16
Date: Mon, 26 Oct 2026 16:16
33 lines
2537 bytes
2537 bytes
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) 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.
Technical Details
Message-ID:
<11bnude$2sv8n$1@dont-email.me>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>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: boltar@caprica.universe 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 16:16:46 -0000 (UTC) Organization: A noiseless patient Spider Lines: 33 Message-ID: <11bnude$2sv8n$1@dont-email.me> 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> Injection-Date: Mon, 26 Oct 2026 16:16:46 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3046679"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GsP++TeyHgJkbrL82n4lE"; posting-host="60c3073eb060f98052890567c07d1963" Cancel-Lock: sha1:3dbQfBTMd+gnoRoJZhvckXBfYuY= sha256:TUzCverx4ndf9cRFE0EBfKe54FHgLoPb5+D+44Hmpv0= sha1:lgUoPzmV7NExhVnBwY3h7hs7iOQ= sha256:B7qiRXhjk24H+fnKkky7QeQ5HHYoKvdvP5RN2qCOMhI=