Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

You do not have mail.


devel / comp.lang.c++ / Re: Run this under Windows and Linux

SubjectAuthor
* Run this under Windows and LinuxBonita Montero
+* Re: Run this under Windows and LinuxChris M. Thomasson
|`* Re: Run this under Windows and LinuxBonita Montero
| +- Re: Run this under Windows and LinuxBranimir Maksimovic
| `* Re: Run this under Windows and LinuxChris M. Thomasson
|  +* Re: Run this under Windows and LinuxBonita Montero
|  |+* Re: Run this under Windows and LinuxBonita Montero
|  ||+* Re: Run this under Windows and LinuxBonita Montero
|  |||`* Re: Run this under Windows and LinuxScott Lurndal
|  ||| `* Re: Run this under Windows and LinuxBonita Montero
|  |||  `* Re: Run this under Windows and LinuxChris M. Thomasson
|  |||   `* Re: Run this under Windows and LinuxBonita Montero
|  |||    `* Re: Run this under Windows and LinuxChris M. Thomasson
|  |||     +* Re: Run this under Windows and LinuxChris M. Thomasson
|  |||     |+- Re: Run this under Windows and LinuxBonita Montero
|  |||     |`* Re: Run this under Windows and LinuxScott Lurndal
|  |||     | +- Re: Run this under Windows and LinuxBonita Montero
|  |||     | `* Re: Run this under Windows and LinuxChris M. Thomasson
|  |||     |  `- Re: Run this under Windows and LinuxChris M. Thomasson
|  |||     `* Re: Run this under Windows and LinuxScott Lurndal
|  |||      +* Re: Run this under Windows and LinuxChris M. Thomasson
|  |||      |`- Re: Run this under Windows and LinuxChris M. Thomasson
|  |||      `* Re: Run this under Windows and LinuxBonita Montero
|  |||       `- Re: Run this under Windows and LinuxChris M. Thomasson
|  ||+* Re: Run this under Windows and LinuxChris M. Thomasson
|  |||`- Re: Run this under Windows and LinuxBonita Montero
|  ||+* Re: Run this under Windows and LinuxKaz Kylheku
|  |||+- Re: Run this under Windows and LinuxChris M. Thomasson
|  |||`- Re: Run this under Windows and LinuxChris M. Thomasson
|  ||`* Re: Run this under Windows and LinuxMichael S
|  || `* Re: Run this under Windows and LinuxBonita Montero
|  ||  `- Re: Run this under Windows and LinuxChris M. Thomasson
|  |`* Re: Run this under Windows and LinuxChris M. Thomasson
|  | `* Re: Run this under Windows and LinuxBonita Montero
|  |  +* Re: Run this under Windows and LinuxScott Lurndal
|  |  |+* Re: Run this under Windows and LinuxDavid Brown
|  |  ||+- Re: Run this under Windows and LinuxBonita Montero
|  |  ||`* Re: Run this under Windows and LinuxChris M. Thomasson
|  |  || `* Re: Run this under Windows and LinuxDavid Brown
|  |  ||  +- Re: Run this under Windows and LinuxChris M. Thomasson
|  |  ||  `- Re: Run this under Windows and LinuxChris M. Thomasson
|  |  |`* Re: Run this under Windows and LinuxBonita Montero
|  |  | `* Re: Run this under Windows and LinuxKaz Kylheku
|  |  |  `* Re: Run this under Windows and LinuxMichael S
|  |  |   `* Re: Run this under Windows and LinuxChris M. Thomasson
|  |  |    `- Re: Run this under Windows and LinuxKaz Kylheku
|  |  `* Re: Run this under Windows and LinuxKaz Kylheku
|  |   `* Re: Run this under Windows and LinuxBonita Montero
|  |    `* Re: Run this under Windows and LinuxKaz Kylheku
|  |     +* Re: Run this under Windows and LinuxBonita Montero
|  |     |`* Re: Run this under Windows and LinuxDavid Brown
|  |     | `* Re: Run this under Windows and LinuxBonita Montero
|  |     |  +* Re: Run this under Windows and LinuxDavid Brown
|  |     |  |`* Re: Run this under Windows and LinuxBonita Montero
|  |     |  | `* Re: Run this under Windows and LinuxDavid Brown
|  |     |  |  `* Re: Run this under Windows and LinuxBonita Montero
|  |     |  |   +* Re: Run this under Windows and LinuxDavid Brown
|  |     |  |   |+* Re: Run this under Windows and LinuxBonita Montero
|  |     |  |   ||+- Re: Run this under Windows and LinuxKaz Kylheku
|  |     |  |   ||+- Re: Run this under Windows and LinuxScott Lurndal
|  |     |  |   ||+- Re: Run this under Windows and LinuxChris M. Thomasson
|  |     |  |   ||`* Re: Run this under Windows and LinuxDavid Brown
|  |     |  |   || `* Re: Run this under Windows and LinuxBonita Montero
|  |     |  |   ||  `* Re: Run this under Windows and LinuxDavid Brown
|  |     |  |   ||   `- Re: Run this under Windows and LinuxBonita Montero
|  |     |  |   |+- Re: Run this under Windows and LinuxScott Lurndal
|  |     |  |   |`- Re: Run this under Windows and LinuxChris M. Thomasson
|  |     |  |   +* Re: Run this under Windows and LinuxKaz Kylheku
|  |     |  |   |`* Re: Run this under Windows and LinuxBonita Montero
|  |     |  |   | +* Re: Run this under Windows and LinuxKaz Kylheku
|  |     |  |   | |`* Re: Run this under Windows and LinuxBonita Montero
|  |     |  |   | | `* Re: Run this under Windows and LinuxBonita Montero
|  |     |  |   | |  `- Re: Run this under Windows and LinuxChris M. Thomasson
|  |     |  |   | `* Re: Run this under Windows and LinuxScott Lurndal
|  |     |  |   |  `* Re: Run this under Windows and LinuxBonita Montero
|  |     |  |   |   `* Re: Run this under Windows and LinuxKaz Kylheku
|  |     |  |   |    `* Re: Run this under Windows and LinuxBonita Montero
|  |     |  |   |     +* Re: Run this under Windows and LinuxScott Lurndal
|  |     |  |   |     |`- Re: Run this under Windows and LinuxBonita Montero
|  |     |  |   |     `- Re: Run this under Windows and LinuxKaz Kylheku
|  |     |  |   `* Re: Run this under Windows and LinuxChris M. Thomasson
|  |     |  |    +- Re: Run this under Windows and LinuxBonita Montero
|  |     |  |    `* Re: Run this under Windows and LinuxBonita Montero
|  |     |  |     `* Re: Run this under Windows and LinuxChris M. Thomasson
|  |     |  |      +* Re: Run this under Windows and LinuxBonita Montero
|  |     |  |      |`* Re: Run this under Windows and LinuxChris M. Thomasson
|  |     |  |      | `* Re: Run this under Windows and LinuxKaz Kylheku
|  |     |  |      |  `* Re: Run this under Windows and LinuxChris M. Thomasson
|  |     |  |      |   `- Re: Run this under Windows and LinuxKaz Kylheku
|  |     |  |      `- Re: Run this under Windows and LinuxBonita Montero
|  |     |  +* Re: Run this under Windows and LinuxKaz Kylheku
|  |     |  |`- Re: Run this under Windows and LinuxDavid Brown
|  |     |  +* Re: Run this under Windows and LinuxScott Lurndal
|  |     |  |+* Re: Run this under Windows and LinuxBonita Montero
|  |     |  ||`* Re: Run this under Windows and LinuxChris M. Thomasson
|  |     |  || `* Re: Run this under Windows and LinuxBonita Montero
|  |     |  ||  `* Re: Run this under Windows and LinuxChris M. Thomasson
|  |     |  ||   `* Re: Run this under Windows and LinuxBonita Montero
|  |     |  ||    `* Re: Run this under Windows and LinuxKaz Kylheku
|  |     |  ||     `* Re: Run this under Windows and LinuxBonita Montero
|  |     |  ||      +* Re: Run this under Windows and LinuxChris M. Thomasson
|  |     |  ||      `* Re: Run this under Windows and LinuxKaz Kylheku
|  |     |  |`- Re: Run this under Windows and LinuxChris M. Thomasson
|  |     |  `* Re: Run this under Windows and LinuxChris M. Thomasson
|  |     `- Re: Run this under Windows and LinuxChris M. Thomasson
|  `* Re: Run this under Windows and LinuxBonita Montero
`* Re: Run this under Windows and LinuxBranimir Maksimovic

Pages:1234567
Re: Run this under Windows and Linux

<ui67fi$3haup$5@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2420&group=comp.lang.c%2B%2B#2420

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sat, 4 Nov 2023 12:53:23 -0700
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <ui67fi$3haup$5@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtfrr$1jvsr$1@dont-email.me> <uhuaml$1omhf$5@dont-email.me>
<ui52bd$3a606$6@dont-email.me> <ui67bq$3haup$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 4 Nov 2023 19:53:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c00f701077870f387d02c0aec410f965";
logging-data="3714009"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EUljVHU2bWJF+oYS214uBWZZhA4p57t8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:/R5S+oX3T1JblhrtsgPoMSfnXoU=
Content-Language: en-US
In-Reply-To: <ui67bq$3haup$4@dont-email.me>
 by: Chris M. Thomasson - Sat, 4 Nov 2023 19:53 UTC

On 11/4/2023 12:51 PM, Chris M. Thomasson wrote:
> On 11/4/2023 2:19 AM, Bonita Montero wrote:
>> Am 01.11.2023 um 20:59 schrieb Chris M. Thomasson:
>>
>>> Huh? The benaphore is a semaphore! So, both of you are totally wrong
>>> here. Think about it...
>>
>> Google for "benaphore mutex" and you'll find several refernces that a
>> benaphore is a mutex, including the two articles I've referred so far.
>>
>
> MORON!!!

The benaphore is a semaphore using a bakery algorithm. You are
completely confused and incoherently flailing around.

Re: Run this under Windows and Linux

<ui67ia$3hgpl$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2421&group=comp.lang.c%2B%2B#2421

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sat, 4 Nov 2023 12:54:51 -0700
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <ui67ia$3hgpl$1@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtfrr$1jvsr$1@dont-email.me> <uhuaml$1omhf$5@dont-email.me>
<ui52bd$3a606$6@dont-email.me> <ui67bq$3haup$4@dont-email.me>
<ui67fi$3haup$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 4 Nov 2023 19:54:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c00f701077870f387d02c0aec410f965";
logging-data="3719989"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xpzleoMIki9+98mKBd6q0WTFaENCwLBY="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:rkrIXiIFBAU/eLBnS5p6sk4xkjw=
In-Reply-To: <ui67fi$3haup$5@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Sat, 4 Nov 2023 19:54 UTC

On 11/4/2023 12:53 PM, Chris M. Thomasson wrote:
> On 11/4/2023 12:51 PM, Chris M. Thomasson wrote:
>> On 11/4/2023 2:19 AM, Bonita Montero wrote:
>>> Am 01.11.2023 um 20:59 schrieb Chris M. Thomasson:
>>>
>>>> Huh? The benaphore is a semaphore! So, both of you are totally wrong
>>>> here. Think about it...
>>>
>>> Google for "benaphore mutex" and you'll find several refernces that a
>>> benaphore is a mutex, including the two articles I've referred so far.
>>>
>>
>> MORON!!!
>
> The benaphore is a semaphore using a bakery algorithm. You are
> completely confused and incoherently flailing around.

https://vorbrodt.blog/2019/02/05/fast-semaphore

Re: Run this under Windows and Linux

<ui74af$3qa1r$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2422&group=comp.lang.c%2B%2B#2422

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sat, 4 Nov 2023 21:05:36 -0700
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <ui74af$3qa1r$1@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <ROO0N.36030$AvZ9.22601@fx35.iad>
<ui0g47$29990$1@dont-email.me> <20231102090052.440@kylheku.com>
<20231103161010.0000527b@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 5 Nov 2023 04:05:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c368fd4043ce1ecca96d5dea385e0752";
logging-data="4007995"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/IJhFII1olQlologwqf53Fsl4DeoI6UnY="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xysH8pxtr5/4XfQnxQegfTMhfRw=
In-Reply-To: <20231103161010.0000527b@yahoo.com>
Content-Language: en-US
 by: Chris M. Thomasson - Sun, 5 Nov 2023 04:05 UTC

On 11/3/2023 7:10 AM, Michael S wrote:
> On Thu, 2 Nov 2023 16:02:04 -0000 (UTC)
> Kaz Kylheku <864-117-4973@kylheku.com> wrote:
>
>> On 2023-11-02, Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>> Am 02.11.2023 um 15:58 schrieb Scott Lurndal:
>>>
>>>> No. Each is distinct.
>>>
>>> You can initialize a binary semaphore with true and use it
>>> as a mutex. And a mutex can be realized without a short path
>>> but just with a binary semaphore in the mentioned way.
>>
>> You can use a label, if and goto as a while loop.
>>
>> That doesn't mean if and goto /are/ while.
>>
>> Speaking of which, I have often mused that sempahores are like the go
>> to statement of synchronization---which is ironic, given their
>> inventor.
>>
>
> IMHO, the word 'mutex' has no exact meaning agreed by all or even
> majority of Computer Science community.
>

mutual exclusion?

Re: Run this under Windows and Linux

<20231104212257.502@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2423&group=comp.lang.c%2B%2B#2423

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 04:23:29 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <20231104212257.502@kylheku.com>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <ROO0N.36030$AvZ9.22601@fx35.iad>
<ui0g47$29990$1@dont-email.me> <20231102090052.440@kylheku.com>
<20231103161010.0000527b@yahoo.com> <ui74af$3qa1r$1@dont-email.me>
Injection-Date: Sun, 5 Nov 2023 04:23:29 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8a09a006be0ab794175ba7f03c9da9f5";
logging-data="4021574"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3PHK1t2HMEutYD7nLQYVQiSocEk9lXXo="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:0m3h18RwDt2rZ23wVPuZwygsiNY=
 by: Kaz Kylheku - Sun, 5 Nov 2023 04:23 UTC

On 2023-11-05, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
> On 11/3/2023 7:10 AM, Michael S wrote:
>> On Thu, 2 Nov 2023 16:02:04 -0000 (UTC)
>> Kaz Kylheku <864-117-4973@kylheku.com> wrote:
>>
>>> On 2023-11-02, Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>>> Am 02.11.2023 um 15:58 schrieb Scott Lurndal:
>>>>
>>>>> No. Each is distinct.
>>>>
>>>> You can initialize a binary semaphore with true and use it
>>>> as a mutex. And a mutex can be realized without a short path
>>>> but just with a binary semaphore in the mentioned way.
>>>
>>> You can use a label, if and goto as a while loop.
>>>
>>> That doesn't mean if and goto /are/ while.
>>>
>>> Speaking of which, I have often mused that sempahores are like the go
>>> to statement of synchronization---which is ironic, given their
>>> inventor.
>>>
>>
>> IMHO, the word 'mutex' has no exact meaning agreed by all or even
>> majority of Computer Science community.
>>
>
> mutual exclusion?

Yeah; you know. I lock it, then somehow cleanly stay out of your way
while you unlock. Mutual exclusion!

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca
NOTE: If you use Google Groups, I don't see you, unless you're whitelisted.

Re: Run this under Windows and Linux

<ui762c$3qrgt$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2424&group=comp.lang.c%2B%2B#2424

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 05:35:30 +0100
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <ui762c$3qrgt$1@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <ui2tah$2q17j$1@dont-email.me>
<ui2vnl$2qcrs$1@dont-email.me> <ui340b$2r25r$1@dont-email.me>
<ui34r0$2r7cc$1@dont-email.me> <ui3rko$2vc30$6@dont-email.me>
<ui52m2$3a606$7@dont-email.me> <ui66rq$3haup$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 5 Nov 2023 04:35:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5fd64b26f69fe4a9555f5759bf220b56";
logging-data="4025885"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CaGM6iRaE5YMdydCDcypEqBema60pgmA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:yta8i40tULTOE1fRvkKYj5P8TPs=
In-Reply-To: <ui66rq$3haup$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Sun, 5 Nov 2023 04:35 UTC

Am 04.11.2023 um 20:42 schrieb Chris M. Thomasson:

> The surrounding code is the mutex. ...

You didn't understand me. The surrounding code that operates
on the guarded data structure isn't the mutex.

Re: Run this under Windows and Linux

<ui75u7$3qqe2$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2425&group=comp.lang.c%2B%2B#2425

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 05:33:16 +0100
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <ui75u7$3qqe2$1@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <ui2tah$2q17j$1@dont-email.me>
<ui2vnl$2qcrs$1@dont-email.me> <ui340b$2r25r$1@dont-email.me>
<ui34r0$2r7cc$1@dont-email.me> <ui3rko$2vc30$6@dont-email.me>
<ui52m2$3a606$7@dont-email.me> <ui66rq$3haup$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 5 Nov 2023 04:33:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5fd64b26f69fe4a9555f5759bf220b56";
logging-data="4024770"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192vLXcFkB/HMNyM+6AuRF2UAjxPhfKcFw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:n4SwGE6uuALgovPYCG7eMlFYSZE=
In-Reply-To: <ui66rq$3haup$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Sun, 5 Nov 2023 04:33 UTC

Am 04.11.2023 um 20:42 schrieb Chris M. Thomasson:

> The surrounding code is the mutex. ...

You didn't understand me. The surrounding code that operates
on the guarded data structure isn't the mutex.

Re: Run this under Windows and Linux

<ui7653$3qrgt$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2426&group=comp.lang.c%2B%2B#2426

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 05:36:56 +0100
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <ui7653$3qrgt$3@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 5 Nov 2023 04:36:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5fd64b26f69fe4a9555f5759bf220b56";
logging-data="4025885"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1910IgSRM9APfH1RD8Vl2KZ0gIczsO8d4w="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:HzQVNJQLpayvjrMLAz5rQaFDDw4=
In-Reply-To: <ui66u7$3haup$2@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Sun, 5 Nov 2023 04:36 UTC

Am 04.11.2023 um 20:44 schrieb Chris M. Thomasson:

> Oh god. The benaphore is a semaphore. ...

It's a mutex; google for "benaphore mutex -semaphore" and you'll
see a lot of people telling the same like me.

Re: Run this under Windows and Linux

<wyO1N.161687$HwD9.94880@fx11.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2427&group=comp.lang.c%2B%2B#2427

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
Newsgroups: comp.lang.c++
From: branimir...@icloud.com (Branimir Maksimovic)
Subject: Re: Run this under Windows and Linux
References: <uhnl0h$bm9a$1@dont-email.me> <7td1N.116068$MJ59.17727@fx10.iad>
<ui52ta$3aaiu$1@dont-email.me>
User-Agent: slrn/1.0.3 (Darwin)
Lines: 23
Message-ID: <wyO1N.161687$HwD9.94880@fx11.iad>
X-Complaints-To: abuse@usenet-news.net
NNTP-Posting-Date: Sun, 05 Nov 2023 15:30:36 UTC
Organization: usenet-news.net
Date: Sun, 05 Nov 2023 15:30:36 GMT
X-Received-Bytes: 1214
 by: Branimir Maksimovic - Sun, 5 Nov 2023 15:30 UTC

On 2023-11-04, Bonita Montero <Bonita.Montero@gmail.com> wrote:
> Maybe I missed some header which is implicitly included with me.
> The code compiles fine with g++, clang++, clang-cl and MSVC on
> my PC.

It compiles, but aborts when running...

>> maxa@Branimirs-MacBook-Air News % g++ -O2 run.cpp -o run -std=c++20
>> run.cpp:37:2: warning: non-void lambda does not return a value [-Wreturn-type]
>> };
>> ^
>> 1 warning generated.
>> bmaxa@Branimirs-MacBook-Air News % ./run
>> libc++abi: terminating
>> zsh: abort ./run
>>
>

--

7-77-777, Evil Sinner!
https://www.linkedin.com/in/branimir-maksimovic-6762bbaa/

Re: Run this under Windows and Linux

<20231105092225.760@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2428&group=comp.lang.c%2B%2B#2428

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 17:25:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <20231105092225.760@kylheku.com>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
<ui7653$3qrgt$3@dont-email.me>
Injection-Date: Sun, 5 Nov 2023 17:25:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8a09a006be0ab794175ba7f03c9da9f5";
logging-data="96182"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Q/C6FpYuxpTyQapPaZrhahKri2GvZJnI="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:cJYGISh2uA9FdKndcfDejBpnP20=
 by: Kaz Kylheku - Sun, 5 Nov 2023 17:25 UTC

On 2023-11-05, Bonita Montero <Bonita.Montero@gmail.com> wrote:
> google for ... and you'll see a lot of people telling the same
> like me.

Bandwagon Fallacy

https://en.wikipedia.org/wiki/Argumentum_ad_populum

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca
NOTE: If you use Google Groups, I don't see you, unless you're whitelisted.

Re: Run this under Windows and Linux

<ui8ktg$379h$1@raubtier-asyl.eternal-september.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2429&group=comp.lang.c%2B%2B#2429

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 18:55:00 +0100
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <ui8ktg$379h$1@raubtier-asyl.eternal-september.org>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
<ui7653$3qrgt$3@dont-email.me> <20231105092225.760@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 5 Nov 2023 17:54:56 -0000 (UTC)
Injection-Info: raubtier-asyl.eternal-september.org; posting-host="5fd64b26f69fe4a9555f5759bf220b56";
logging-data="105777"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9h0xQNk0T6oWLbc4CyOmEmIzNfRJ31dA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:PXXVS2f8/Qfpd37Ymo2r38suEhY=
Content-Language: de-DE
In-Reply-To: <20231105092225.760@kylheku.com>
 by: Bonita Montero - Sun, 5 Nov 2023 17:55 UTC

Am 05.11.2023 um 18:25 schrieb Kaz Kylheku:
> On 2023-11-05, Bonita Montero <Bonita.Montero@gmail.com> wrote:
>> google for ... and you'll see a lot of people telling the same
>> like me.
>
> Bandwagon Fallacy
>
> https://en.wikipedia.org/wiki/Argumentum_ad_populum

In most cases experts are right if they agree on a certain fact.

Re: Run this under Windows and Linux

<ui8stj$4c78$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2432&group=comp.lang.c%2B%2B#2432

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 12:11:31 -0800
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <ui8stj$4c78$1@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <ui2tah$2q17j$1@dont-email.me>
<ui2vnl$2qcrs$1@dont-email.me> <ui340b$2r25r$1@dont-email.me>
<ui34r0$2r7cc$1@dont-email.me> <ui3rko$2vc30$6@dont-email.me>
<ui52m2$3a606$7@dont-email.me> <ui66rq$3haup$1@dont-email.me>
<ui762c$3qrgt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 5 Nov 2023 20:11:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c368fd4043ce1ecca96d5dea385e0752";
logging-data="143592"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195idSxxe6jPhANHlgPOS39N+FlDa9D+Y8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:axMDmlORV99528t1s2884OZkK1s=
Content-Language: en-US
In-Reply-To: <ui762c$3qrgt$1@dont-email.me>
 by: Chris M. Thomasson - Sun, 5 Nov 2023 20:11 UTC

On 11/4/2023 9:35 PM, Bonita Montero wrote:
> Am 04.11.2023 um 20:42 schrieb Chris M. Thomasson:
>
>> The surrounding code is the mutex. ...
>
> You didn't understand me. The surrounding code that operates
> on the guarded data structure isn't the mutex.

Any semaphore can be used as a binary semaphore, which can in turn be
used for mutual exclusion. Now, the mutex logic itself can record what
thread has ownership, ect... This is separate from the semaphore logic.
Are you sure that you are not misunderstanding me?

A semaphore does not have a concept of ownership. However, a mutex does.

Re: Run this under Windows and Linux

<ui8t00$4c78$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2433&group=comp.lang.c%2B%2B#2433

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 12:12:48 -0800
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <ui8t00$4c78$2@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
<ui7653$3qrgt$3@dont-email.me> <20231105092225.760@kylheku.com>
<ui8ktg$379h$1@raubtier-asyl.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 5 Nov 2023 20:12:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c368fd4043ce1ecca96d5dea385e0752";
logging-data="143592"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/WZAUEP0rB3vFIr9EBdQuF0DlFvQUn+Xo="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:otKIW0RXut31X2Fs1T/SyqTHlAs=
In-Reply-To: <ui8ktg$379h$1@raubtier-asyl.eternal-september.org>
Content-Language: en-US
 by: Chris M. Thomasson - Sun, 5 Nov 2023 20:12 UTC

On 11/5/2023 9:55 AM, Bonita Montero wrote:
> Am 05.11.2023 um 18:25 schrieb Kaz Kylheku:
>> On 2023-11-05, Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>> google for ... and you'll see a lot of people telling the same
>>> like me.
>>
>> Bandwagon Fallacy
>>
>> https://en.wikipedia.org/wiki/Argumentum_ad_populum
>
> In most cases experts are right if they agree on a certain fact.
>

Sorry buddy! A benaphore is a semaphore. You, along with the "experts"
that try to say that a benaphore is a mutex are 100% completely wrong.
Got it?

Re: Run this under Windows and Linux

<ui8t5e$4c78$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2434&group=comp.lang.c%2B%2B#2434

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!news.swapon.de!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 12:15:42 -0800
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <ui8t5e$4c78$3@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtfrr$1jvsr$1@dont-email.me> <uhuaml$1omhf$5@dont-email.me>
<ui52bd$3a606$6@dont-email.me> <ui67bq$3haup$4@dont-email.me>
<ui67fi$3haup$5@dont-email.me> <ui67ia$3hgpl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 5 Nov 2023 20:15:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c368fd4043ce1ecca96d5dea385e0752";
logging-data="143592"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19j1SbnWLZs96h6uL/7P2PilSYMzDc71y0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:LGVufAcRPJ2RxkKhsm9AzuHv6eU=
Content-Language: en-US
In-Reply-To: <ui67ia$3hgpl$1@dont-email.me>
 by: Chris M. Thomasson - Sun, 5 Nov 2023 20:15 UTC

On 11/4/2023 12:54 PM, Chris M. Thomasson wrote:
> On 11/4/2023 12:53 PM, Chris M. Thomasson wrote:
>> On 11/4/2023 12:51 PM, Chris M. Thomasson wrote:
>>> On 11/4/2023 2:19 AM, Bonita Montero wrote:
>>>> Am 01.11.2023 um 20:59 schrieb Chris M. Thomasson:
>>>>
>>>>> Huh? The benaphore is a semaphore! So, both of you are totally
>>>>> wrong here. Think about it...
>>>>
>>>> Google for "benaphore mutex" and you'll find several refernces that a
>>>> benaphore is a mutex, including the two articles I've referred so far.
>>>>
>>>
>>> MORON!!!
>>
>> The benaphore is a semaphore using a bakery algorithm. You are
>> completely confused and incoherently flailing around.
>
> https://vorbrodt.blog/2019/02/05/fast-semaphore

Fwiw, Joe Seigh created a really interesting read/write ticket based
bakery algorithm a long time ago back in comp.programming.threads. It
was a spinlock, but the logic was rather elegant. Humm... I wonder if I
can find that old thread!

Re: Run this under Windows and Linux

<ui8ta0$4c78$4@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2435&group=comp.lang.c%2B%2B#2435

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 12:18:08 -0800
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <ui8ta0$4c78$4@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
<ui7653$3qrgt$3@dont-email.me> <20231105092225.760@kylheku.com>
<ui8ktg$379h$1@raubtier-asyl.eternal-september.org>
<ui8t00$4c78$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 5 Nov 2023 20:18:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c368fd4043ce1ecca96d5dea385e0752";
logging-data="143592"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19p2N8Uner+OzXXS/Tw5grNiwd2G/HEXv0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:8emQCrW2jDbPU9wQ/U43G533SBU=
Content-Language: en-US
In-Reply-To: <ui8t00$4c78$2@dont-email.me>
 by: Chris M. Thomasson - Sun, 5 Nov 2023 20:18 UTC

On 11/5/2023 12:12 PM, Chris M. Thomasson wrote:
> On 11/5/2023 9:55 AM, Bonita Montero wrote:
>> Am 05.11.2023 um 18:25 schrieb Kaz Kylheku:
>>> On 2023-11-05, Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>>> google for ... and you'll see a lot of people telling the same
>>>> like me.
>>>
>>> Bandwagon Fallacy
>>>
>>> https://en.wikipedia.org/wiki/Argumentum_ad_populum
>>
>> In most cases experts are right if they agree on a certain fact.
>>
>
> Sorry buddy! A benaphore is a semaphore. You, along with the "experts"
> that try to say that a benaphore is a mutex are 100% completely wrong.
> Got it?

Actually, an "expert" that tries to say that a benaphore is a mutex
should be FIRED on the spot.

Re: Run this under Windows and Linux

<20231105120232.214@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2437&group=comp.lang.c%2B%2B#2437

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 20:53:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <20231105120232.214@kylheku.com>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
<ui7653$3qrgt$3@dont-email.me> <20231105092225.760@kylheku.com>
<ui8ktg$379h$1@raubtier-asyl.eternal-september.org>
Injection-Date: Sun, 5 Nov 2023 20:53:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8a09a006be0ab794175ba7f03c9da9f5";
logging-data="157603"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3yFeOj3RstM2XqgeJyh8gQ6LqpqjJQqs="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:XbbUhbO5oM7q/1mWXoKLZLdtnJM=
 by: Kaz Kylheku - Sun, 5 Nov 2023 20:53 UTC

On 2023-11-05, Bonita Montero <Bonita.Montero@gmail.com> wrote:
> Am 05.11.2023 um 18:25 schrieb Kaz Kylheku:
>> On 2023-11-05, Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>> google for ... and you'll see a lot of people telling the same
>>> like me.
>>
>> Bandwagon Fallacy
>>
>> https://en.wikipedia.org/wiki/Argumentum_ad_populum
>
> In most cases experts are right if they agree on a certain fact.

Firstly, "I googled this up" to "experts" is a huge leap.

Secondly, when have you ever recognized or acknowledged expertise?

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca
NOTE: If you use Google Groups, I don't see you, unless you're whitelisted.

Re: Run this under Windows and Linux

<20231105144458.539@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2440&group=comp.lang.c%2B%2B#2440

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 22:54:51 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <20231105144458.539@kylheku.com>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <ui2tah$2q17j$1@dont-email.me>
<ui2vnl$2qcrs$1@dont-email.me> <ui340b$2r25r$1@dont-email.me>
<ui34r0$2r7cc$1@dont-email.me> <ui3rko$2vc30$6@dont-email.me>
<ui52m2$3a606$7@dont-email.me> <ui66rq$3haup$1@dont-email.me>
<ui762c$3qrgt$1@dont-email.me> <ui8stj$4c78$1@dont-email.me>
Injection-Date: Sun, 5 Nov 2023 22:54:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8a09a006be0ab794175ba7f03c9da9f5";
logging-data="190038"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xiJQOi9eAvTruCEp7TNHGndXjFzIJ8Ok="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:6Socve9z45dy6H8VfJgO7B9zXXU=
 by: Kaz Kylheku - Sun, 5 Nov 2023 22:54 UTC

On 2023-11-05, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
> On 11/4/2023 9:35 PM, Bonita Montero wrote:
>> Am 04.11.2023 um 20:42 schrieb Chris M. Thomasson:
>>
>>> The surrounding code is the mutex. ...
>>
>> You didn't understand me. The surrounding code that operates
>> on the guarded data structure isn't the mutex.
>
> Any semaphore can be used as a binary semaphore, which can in turn be
> used for mutual exclusion. Now, the mutex logic itself can record what
> thread has ownership, ect... This is separate from the semaphore logic.
> Are you sure that you are not misunderstanding me?

It's like someone paid to misunderstand ... only minus any actual money.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca
NOTE: If you use Google Groups, I don't see you, unless you're whitelisted.

Re: Run this under Windows and Linux

<20231105145505.730@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2441&group=comp.lang.c%2B%2B#2441

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 22:55:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <20231105145505.730@kylheku.com>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
<ui7653$3qrgt$3@dont-email.me> <20231105092225.760@kylheku.com>
<ui8ktg$379h$1@raubtier-asyl.eternal-september.org>
<ui8t00$4c78$2@dont-email.me> <ui8ta0$4c78$4@dont-email.me>
Injection-Date: Sun, 5 Nov 2023 22:55:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8a09a006be0ab794175ba7f03c9da9f5";
logging-data="190038"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19z4lOdBrlzhNxXSSKHpzkAarvtka+g65o="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:nswCWtXnz3lUlREvCNc/8u5T3pA=
 by: Kaz Kylheku - Sun, 5 Nov 2023 22:55 UTC

On 2023-11-05, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
> Actually, an "expert" that tries to say that a benaphore is a mutex
> should be FIRED on the spot.

They probably are; just not from the Google search index.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca
NOTE: If you use Google Groups, I don't see you, unless you're whitelisted.

Re: Run this under Windows and Linux

<ui9k80$7a3q$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2442&group=comp.lang.c%2B%2B#2442

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 18:49:36 -0800
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <ui9k80$7a3q$1@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <ui2tah$2q17j$1@dont-email.me>
<ui2vnl$2qcrs$1@dont-email.me> <ui340b$2r25r$1@dont-email.me>
<ui34r0$2r7cc$1@dont-email.me> <ui3rko$2vc30$6@dont-email.me>
<ui52m2$3a606$7@dont-email.me> <ui66rq$3haup$1@dont-email.me>
<ui762c$3qrgt$1@dont-email.me> <ui8stj$4c78$1@dont-email.me>
<20231105144458.539@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 6 Nov 2023 02:49:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f32969d4d7c755d3c610825aaa34a086";
logging-data="239738"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19A+qSumuhz4hgBmW9mpI82Sw926Mwb7Sw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:E5fcs+PHijRkpfayx7bnQ8FCnx8=
In-Reply-To: <20231105144458.539@kylheku.com>
Content-Language: en-US
 by: Chris M. Thomasson - Mon, 6 Nov 2023 02:49 UTC

On 11/5/2023 2:54 PM, Kaz Kylheku wrote:
> On 2023-11-05, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
>> On 11/4/2023 9:35 PM, Bonita Montero wrote:
>>> Am 04.11.2023 um 20:42 schrieb Chris M. Thomasson:
>>>
>>>> The surrounding code is the mutex. ...
>>>
>>> You didn't understand me. The surrounding code that operates
>>> on the guarded data structure isn't the mutex.
>>
>> Any semaphore can be used as a binary semaphore, which can in turn be
>> used for mutual exclusion. Now, the mutex logic itself can record what
>> thread has ownership, ect... This is separate from the semaphore logic.
>> Are you sure that you are not misunderstanding me?
>
> It's like someone paid to misunderstand ... only minus any actual money.
>

Humm... Interesting comment! Almost hard to disagree with wrt the, Bontia...

Re: Run this under Windows and Linux

<ui9kf2$7a3q$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2443&group=comp.lang.c%2B%2B#2443

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 18:53:22 -0800
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <ui9kf2$7a3q$2@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
<ui7653$3qrgt$3@dont-email.me> <20231105092225.760@kylheku.com>
<ui8ktg$379h$1@raubtier-asyl.eternal-september.org>
<ui8t00$4c78$2@dont-email.me> <ui8ta0$4c78$4@dont-email.me>
<20231105145505.730@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 6 Nov 2023 02:53:23 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f32969d4d7c755d3c610825aaa34a086";
logging-data="239738"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Ns+XNx8tqLfX0e4wf1TyzJsw8CXiKx3M="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:chQUjn0aDZX9IhNmfEQBMn8zdfE=
In-Reply-To: <20231105145505.730@kylheku.com>
Content-Language: en-US
 by: Chris M. Thomasson - Mon, 6 Nov 2023 02:53 UTC

On 11/5/2023 2:55 PM, Kaz Kylheku wrote:
> On 2023-11-05, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
>> Actually, an "expert" that tries to say that a benaphore is a mutex
>> should be FIRED on the spot.
>
> They probably are; just not from the Google search index.
>

Wow. Yup. Well, shit happens. Your company hired Bontia, and he starts
trying to tell everybody that a benaphore is a mutex... Well... This a
place for a highly sarcastic comic I have been thinking about creating
called "Codan the Barbarian". If Codan heard Bonita say that, the ring
of skulls he carries around would start glowing white hot... Then Codan
would flip out. Codan is about 7 feet tall and around 340 pounds, not an
ounce of fat. He happens to be a talented programmer.

Re: Run this under Windows and Linux

<20231105185312.670@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2444&group=comp.lang.c%2B%2B#2444

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Mon, 6 Nov 2023 02:58:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <20231105185312.670@kylheku.com>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <ui2tah$2q17j$1@dont-email.me>
<ui2vnl$2qcrs$1@dont-email.me> <ui340b$2r25r$1@dont-email.me>
<ui34r0$2r7cc$1@dont-email.me> <ui3rko$2vc30$6@dont-email.me>
<ui52m2$3a606$7@dont-email.me> <ui66rq$3haup$1@dont-email.me>
<ui762c$3qrgt$1@dont-email.me> <ui8stj$4c78$1@dont-email.me>
<20231105144458.539@kylheku.com> <ui9k80$7a3q$1@dont-email.me>
Injection-Date: Mon, 6 Nov 2023 02:58:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1ea8bf42c687cc3b3e82603f8a9aab63";
logging-data="240850"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XZEMEuwBRn7gS1kMqwsFQdFOMGJQ+Ll8="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:iwiDMSd+LRGTS8cvXnFVKQTXx4o=
 by: Kaz Kylheku - Mon, 6 Nov 2023 02:58 UTC

On 2023-11-06, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
> On 11/5/2023 2:54 PM, Kaz Kylheku wrote:
>> On 2023-11-05, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
>>> On 11/4/2023 9:35 PM, Bonita Montero wrote:
>>>> Am 04.11.2023 um 20:42 schrieb Chris M. Thomasson:
>>>>
>>>>> The surrounding code is the mutex. ...
>>>>
>>>> You didn't understand me. The surrounding code that operates
>>>> on the guarded data structure isn't the mutex.
>>>
>>> Any semaphore can be used as a binary semaphore, which can in turn be
>>> used for mutual exclusion. Now, the mutex logic itself can record what
>>> thread has ownership, ect... This is separate from the semaphore logic.
>>> Are you sure that you are not misunderstanding me?
>>
>> It's like someone paid to misunderstand ... only minus any actual money.
>
> Humm... Interesting comment! Almost hard to disagree with wrt the, Bontia...

It's a variation on a quote from Upton Sinclair, evidently found in
_I, Candidate for Governor: And How I Got Licked_ [1935]

"It is difficult to get a man to understand something when his salary
depends on his not understanding it."

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca
NOTE: If you use Google Groups, I don't see you, unless you're whitelisted.

Re: Run this under Windows and Linux

<ui9nfn$bgou$1@raubtier-asyl.eternal-september.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2445&group=comp.lang.c%2B%2B#2445

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Mon, 6 Nov 2023 04:44:55 +0100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <ui9nfn$bgou$1@raubtier-asyl.eternal-september.org>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
<ui7653$3qrgt$3@dont-email.me> <20231105092225.760@kylheku.com>
<ui8ktg$379h$1@raubtier-asyl.eternal-september.org>
<ui8t00$4c78$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 6 Nov 2023 03:44:55 -0000 (UTC)
Injection-Info: raubtier-asyl.eternal-september.org; posting-host="318b8db1129a3b72186b4c7679f8a97a";
logging-data="377630"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19M0mvdRh1DyYznbnaHXkKE7aOoIV+x+iI="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:PnzfNPIGaF1o0ENnevgSPHZSGmE=
Content-Language: de-DE
In-Reply-To: <ui8t00$4c78$2@dont-email.me>
 by: Bonita Montero - Mon, 6 Nov 2023 03:44 UTC

Am 05.11.2023 um 21:12 schrieb Chris M. Thomasson:
> On 11/5/2023 9:55 AM, Bonita Montero wrote:
>> Am 05.11.2023 um 18:25 schrieb Kaz Kylheku:
>>> On 2023-11-05, Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>>> google for ... and you'll see a lot of people telling the same
>>>> like me.
>>>
>>> Bandwagon Fallacy
>>>
>>> https://en.wikipedia.org/wiki/Argumentum_ad_populum
>>
>> In most cases experts are right if they agree on a certain fact.
>>
>
> Sorry buddy! A benaphore is a semaphore. ...

If you take it like that every mutex is also a binary semaphore.

Re: Run this under Windows and Linux

<ui9ov4$bkh8$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2446&group=comp.lang.c%2B%2B#2446

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Sun, 5 Nov 2023 20:10:12 -0800
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <ui9ov4$bkh8$1@dont-email.me>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
<ui7653$3qrgt$3@dont-email.me> <20231105092225.760@kylheku.com>
<ui8ktg$379h$1@raubtier-asyl.eternal-september.org>
<ui8t00$4c78$2@dont-email.me>
<ui9nfn$bgou$1@raubtier-asyl.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 6 Nov 2023 04:10:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f32969d4d7c755d3c610825aaa34a086";
logging-data="381480"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/cCkAySMhlqGLBtHpv3u2ELOyLMEy88fM="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:fJsH1KUbmZ3vE0eiTjvZ9PcZ6+Q=
Content-Language: en-US
In-Reply-To: <ui9nfn$bgou$1@raubtier-asyl.eternal-september.org>
 by: Chris M. Thomasson - Mon, 6 Nov 2023 04:10 UTC

On 11/5/2023 7:44 PM, Bonita Montero wrote:
> Am 05.11.2023 um 21:12 schrieb Chris M. Thomasson:
>> On 11/5/2023 9:55 AM, Bonita Montero wrote:
>>> Am 05.11.2023 um 18:25 schrieb Kaz Kylheku:
>>>> On 2023-11-05, Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>>>> google for ... and you'll see a lot of people telling the same
>>>>> like me.
>>>>
>>>> Bandwagon Fallacy
>>>>
>>>> https://en.wikipedia.org/wiki/Argumentum_ad_populum
>>>
>>> In most cases experts are right if they agree on a certain fact.
>>>
>>
>> Sorry buddy! A benaphore is a semaphore. ...
>
> If you take it like that every mutex is also a binary semaphore.
>
>

Nope. Wow, you massively confused! A mutex does not need to use
semaphore logic, it can have its own fast path algorithm, XCHG for
instance. However, it can use a semaphore for its slow paths. You are
being radically obtuse here. Wow.

Re: Run this under Windows and Linux

<ui9p9c$bn6v$1@raubtier-asyl.eternal-september.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2447&group=comp.lang.c%2B%2B#2447

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Mon, 6 Nov 2023 05:15:40 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <ui9p9c$bn6v$1@raubtier-asyl.eternal-september.org>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
<ui7653$3qrgt$3@dont-email.me> <20231105092225.760@kylheku.com>
<ui8ktg$379h$1@raubtier-asyl.eternal-september.org>
<ui8t00$4c78$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 6 Nov 2023 04:15:40 -0000 (UTC)
Injection-Info: raubtier-asyl.eternal-september.org; posting-host="318b8db1129a3b72186b4c7679f8a97a";
logging-data="384223"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ejPQ9ibnrBNDjKElP8UUHyDTGbf9x6xQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:lYy/QRtiFuY5fF5mYQt/+hwmNRo=
In-Reply-To: <ui8t00$4c78$2@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Mon, 6 Nov 2023 04:15 UTC

Am 05.11.2023 um 21:12 schrieb Chris M. Thomasson:
> On 11/5/2023 9:55 AM, Bonita Montero wrote:
>> Am 05.11.2023 um 18:25 schrieb Kaz Kylheku:
>>> On 2023-11-05, Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>>> google for ... and you'll see a lot of people telling the same
>>>> like me.
>>>
>>> Bandwagon Fallacy
>>>
>>> https://en.wikipedia.org/wiki/Argumentum_ad_populum
>>
>> In most cases experts are right if they agree on a certain fact.
>>
>
> Sorry buddy! A benaphore is a semaphore. You, along with the "experts"
> that try to say that a benaphore is a mutex are 100% completely wrong.
> Got it?

If you take it that way every mutex is a binary seamphore;
but no one refers to a mutex as a semaphore.

Re: Run this under Windows and Linux

<ui9pb2$bn6v$2@raubtier-asyl.eternal-september.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2448&group=comp.lang.c%2B%2B#2448

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Mon, 6 Nov 2023 05:16:35 +0100
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <ui9pb2$bn6v$2@raubtier-asyl.eternal-september.org>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
<ui7653$3qrgt$3@dont-email.me> <20231105092225.760@kylheku.com>
<ui8ktg$379h$1@raubtier-asyl.eternal-september.org>
<ui8t00$4c78$2@dont-email.me>
<ui9nfn$bgou$1@raubtier-asyl.eternal-september.org>
<ui9ov4$bkh8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 6 Nov 2023 04:16:34 -0000 (UTC)
Injection-Info: raubtier-asyl.eternal-september.org; posting-host="318b8db1129a3b72186b4c7679f8a97a";
logging-data="384223"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uuRUxbLl3NUypuQE1t7X9Iw+C0oUZqnU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:H/Ri7SXQ4DofnRcwmAmShZz+LKY=
In-Reply-To: <ui9ov4$bkh8$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Mon, 6 Nov 2023 04:16 UTC

Am 06.11.2023 um 05:10 schrieb Chris M. Thomasson:
>
> Nope. Wow, you massively confused! A mutex does not need to use
> semaphore logic, it can have its own fast path algorithm, XCHG for
> instance. ...

With pure userland-logic you won't have the opportunity to sleep for
a mutex or to be awakened.

Re: Run this under Windows and Linux

<20231105200241.0@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2449&group=comp.lang.c%2B%2B#2449

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c++
Subject: Re: Run this under Windows and Linux
Date: Mon, 6 Nov 2023 04:22:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <20231105200241.0@kylheku.com>
References: <uhnl0h$bm9a$1@dont-email.me> <uhp2gk$jvlg$1@dont-email.me>
<uhqrnb$11io0$1@dont-email.me> <uhrprb$175ve$1@dont-email.me>
<uhtekk$1jn05$1@dont-email.me> <uhual7$1omhf$4@dont-email.me>
<uhveha$22bbn$2@dont-email.me> <20231102083305.904@kylheku.com>
<ui0gbs$29990$3@dont-email.me> <20231102085649.385@kylheku.com>
<ui0ijl$29qan$1@dont-email.me> <ui2do8$2ngpf$2@dont-email.me>
<ui2jik$2of1r$1@dont-email.me> <kA91N.279085$8fO.263728@fx15.iad>
<ui39gf$2s28j$2@dont-email.me> <ui3s05$2vc30$10@dont-email.me>
<ui526u$3a606$4@dont-email.me> <ui66u7$3haup$2@dont-email.me>
<ui7653$3qrgt$3@dont-email.me> <20231105092225.760@kylheku.com>
<ui8ktg$379h$1@raubtier-asyl.eternal-september.org>
<ui8t00$4c78$2@dont-email.me>
<ui9nfn$bgou$1@raubtier-asyl.eternal-september.org>
Injection-Date: Mon, 6 Nov 2023 04:22:49 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1ea8bf42c687cc3b3e82603f8a9aab63";
logging-data="385803"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4uYT7J7OyZnVw1QQ+7BzIeKPoI/gJi0E="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:1Q94/kZ55jY+eG+5q0j8FHM4tUg=
 by: Kaz Kylheku - Mon, 6 Nov 2023 04:22 UTC

On 2023-11-06, Bonita Montero <Bonita.Montero@gmail.com> wrote:
> Am 05.11.2023 um 21:12 schrieb Chris M. Thomasson:
>> On 11/5/2023 9:55 AM, Bonita Montero wrote:
>>> Am 05.11.2023 um 18:25 schrieb Kaz Kylheku:
>>>> On 2023-11-05, Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>>>> google for ... and you'll see a lot of people telling the same
>>>>> like me.
>>>>
>>>> Bandwagon Fallacy
>>>>
>>>> https://en.wikipedia.org/wiki/Argumentum_ad_populum
>>>
>>> In most cases experts are right if they agree on a certain fact.
>>>
>>
>> Sorry buddy! A benaphore is a semaphore. ...
>
> If you take it like that every mutex is also a binary semaphore.

Umm, nope! Because you can't use a mutex, for instance, in
signaling "item available" in a producer consumer queue.

You can't have a producer doing nothing but unlock(mutex) to signal that
it has added an item, and a consumer doing nothing but lock(mutex).

If that happens to work, then we know the mutex is really a semaphore.

If it works, but the documentation says that the behavior is undefined,
we probably shouldn't do that, but use something that is documented.

No mutex provided in any mainstream operating system supports this
as a documented case that is required to work.

No implementation of POSIX mutexes, not Windows' CRITICAL_SECTION, not
Win32 Mutexes, not C++ or ISO C mutexes.

You don't care that something is undefined because you're a professional
troll, not a professional developer.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca
NOTE: If you use Google Groups, I don't see you, unless you're whitelisted.


devel / comp.lang.c++ / Re: Run this under Windows and Linux

Pages:1234567
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor