Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #113575 > unrolled thread

Run this under Windows and Linux

Started byBonita Montero <Bonita.Montero@gmail.com>
First post2023-10-30 08:12 +0100
Last post2023-11-05 15:30 +0000
Articles 20 on this page of 151 — 7 participants

Back to article view | Back to comp.lang.c++


Contents

  Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-10-30 08:12 +0100
    Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-10-30 13:08 -0700
      Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-10-31 13:25 +0100
        Re: Run this under Windows and Linux Branimir Maksimovic <branimir.maksimovic@icloud.com> - 2023-10-31 17:37 +0000
        Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-10-31 13:59 -0700
          Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-01 13:00 +0100
            Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-01 19:24 +0100
              Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-01 19:28 +0100
                Re: Run this under Windows and Linux scott@slp53.sl.home (Scott Lurndal) - 2023-11-01 19:04 +0000
                  Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-01 20:11 +0100
                    Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-01 13:02 -0700
                      Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-03 13:36 +0100
                        Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-03 15:13 -0700
                          Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 00:19 -0700
                            Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 10:13 +0100
                            Re: Run this under Windows and Linux scott@slp53.sl.home (Scott Lurndal) - 2023-11-04 15:53 +0000
                              Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 16:58 +0100
                              Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 11:44 -0700
                                Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-09 01:05 -0800
                          Re: Run this under Windows and Linux scott@slp53.sl.home (Scott Lurndal) - 2023-11-04 16:03 +0000
                            Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 11:45 -0700
                              Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 11:48 -0700
                            Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 19:58 +0100
                              Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 12:14 -0700
              Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-01 13:01 -0700
                Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-02 07:10 +0100
              Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-01 20:50 +0000
                Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-01 14:05 -0700
                Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-01 14:07 -0700
              Re: Run this under Windows and Linux Michael S <already5chosen@yahoo.com> - 2023-11-03 16:04 +0200
                Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-03 15:24 +0100
                  Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-03 15:14 -0700
            Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-01 12:58 -0700
              Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-02 07:10 +0100
                Re: Run this under Windows and Linux scott@slp53.sl.home (Scott Lurndal) - 2023-11-02 14:58 +0000
                  Re: Run this under Windows and Linux David Brown <david.brown@hesbynett.no> - 2023-11-02 16:34 +0100
                    Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-02 16:46 +0100
                    Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-02 13:12 -0700
                      Re: Run this under Windows and Linux David Brown <david.brown@hesbynett.no> - 2023-11-03 10:13 +0100
                        Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-03 15:16 -0700
                        Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-08 20:33 -0800
                  Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-02 16:44 +0100
                    Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-02 16:02 +0000
                      Re: Run this under Windows and Linux Michael S <already5chosen@yahoo.com> - 2023-11-03 16:10 +0200
                        Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 21:05 -0700
                          Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-05 04:23 +0000
                Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-02 15:37 +0000
                  Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-02 16:48 +0100
                    Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-02 16:00 +0000
                      Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-02 17:26 +0100
                        Re: Run this under Windows and Linux David Brown <david.brown@hesbynett.no> - 2023-11-03 10:15 +0100
                          Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-03 11:55 +0100
                            Re: Run this under Windows and Linux David Brown <david.brown@hesbynett.no> - 2023-11-03 14:41 +0100
                              Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-03 15:22 +0100
                                Re: Run this under Windows and Linux David Brown <david.brown@hesbynett.no> - 2023-11-03 16:35 +0100
                                  Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-03 16:49 +0100
                                    Re: Run this under Windows and Linux David Brown <david.brown@hesbynett.no> - 2023-11-03 18:02 +0100
                                      Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-03 18:08 +0100
                                        Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-03 17:29 +0000
                                        Re: Run this under Windows and Linux scott@slp53.sl.home (Scott Lurndal) - 2023-11-03 18:52 +0000
                                        Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-03 15:21 -0700
                                        Re: Run this under Windows and Linux David Brown <david.brown@hesbynett.no> - 2023-11-04 17:22 +0100
                                          Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 17:35 +0100
                                            Re: Run this under Windows and Linux David Brown <david.brown@hesbynett.no> - 2023-11-04 17:56 +0100
                                              Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 18:18 +0100
                                      Re: Run this under Windows and Linux scott@slp53.sl.home (Scott Lurndal) - 2023-11-03 18:51 +0000
                                      Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-03 15:20 -0700
                                    Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-03 17:28 +0000
                                      Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-03 18:30 +0100
                                        Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-03 18:03 +0000
                                          Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-03 19:07 +0100
                                            Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-03 19:08 +0100
                                              Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-03 15:26 -0700
                                        Re: Run this under Windows and Linux scott@slp53.sl.home (Scott Lurndal) - 2023-11-03 18:54 +0000
                                          Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-03 20:25 +0100
                                            Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-03 20:56 +0000
                                              Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 10:15 +0100
                                                Re: Run this under Windows and Linux scott@slp53.sl.home (Scott Lurndal) - 2023-11-04 16:05 +0000
                                                  Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 17:35 +0100
                                                Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-04 18:44 +0000
                                    Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-03 15:19 -0700
                                      Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 10:16 +0100
                                      Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 10:25 +0100
                                        Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 12:42 -0700
                                          Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-05 05:33 +0100
                                          Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-05 05:35 +0100
                                            Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-05 12:11 -0800
                                              Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-05 22:54 +0000
                                                Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-05 18:49 -0800
                                                  Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-06 02:58 +0000
                            Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-03 15:32 +0000
                              Re: Run this under Windows and Linux David Brown <david.brown@hesbynett.no> - 2023-11-03 18:05 +0100
                            Re: Run this under Windows and Linux scott@slp53.sl.home (Scott Lurndal) - 2023-11-03 16:53 +0000
                              Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-03 18:09 +0100
                                Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-03 15:25 -0700
                                  Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 10:17 +0100
                                    Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 12:44 -0700
                                      Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-05 05:36 +0100
                                        Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-05 17:25 +0000
                                          Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-05 18:55 +0100
                                            Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-05 12:12 -0800
                                              Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-05 12:18 -0800
                                                Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-05 22:55 +0000
                                                  Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-05 18:53 -0800
                                              Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-06 04:44 +0100
                                                Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-05 20:10 -0800
                                                  Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-06 05:16 +0100
                                                    Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-08 20:44 -0800
                                                Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-06 04:22 +0000
                                                  Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-06 05:37 +0100
                                                    Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-05 21:01 -0800
                                                  Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-05 21:00 -0800
                                                    Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-06 09:36 +0100
                                                      Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-06 12:11 -0800
                                                        Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-06 23:52 +0100
                                                          Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-07 11:51 -0800
                                              Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-06 05:15 +0100
                                                Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-05 21:02 -0800
                                                  Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-05 21:05 -0800
                                                    Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-06 09:37 +0100
                                                      Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-06 12:13 -0800
                                                        Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-06 23:53 +0100
                                                          Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-06 23:00 +0000
                                                            Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-07 05:36 +0100
                                                              Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-07 05:29 +0000
                                                                Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-07 09:38 +0100
                                                                  Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-07 11:53 -0800
                                                                    Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-09 05:49 +0100
                                                                      Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-08 20:52 -0800
                                                                        Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-09 05:54 +0100
                                                                          Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-08 20:57 -0800
                                                                  Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-08 20:45 -0800
                                            Re: Run this under Windows and Linux Kaz Kylheku <864-117-4973@kylheku.com> - 2023-11-05 20:53 +0000
                                              Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-06 12:13 -0800
                              Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-03 15:24 -0700
                            Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-03 15:18 -0700
                              Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 10:18 +0100
                                Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 12:45 -0700
                      Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-02 13:18 -0700
          Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-01 13:21 +0100
            Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-01 12:59 -0700
              Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 00:01 -0700
              Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 10:19 +0100
                Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 10:53 +0100
                Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 12:51 -0700
                  Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 12:53 -0700
                    Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-04 12:54 -0700
                      Re: Run this under Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-11-05 12:15 -0800
    Re: Run this under Windows and Linux Branimir Maksimovic <branimir.maksimovic@icloud.com> - 2023-11-03 21:18 +0000
      Re: Run this under Windows and Linux Bonita Montero <Bonita.Montero@gmail.com> - 2023-11-04 10:29 +0100
        Re: Run this under Windows and Linux Branimir Maksimovic <branimir.maksimovic@icloud.com> - 2023-11-05 15:30 +0000

Page 6 of 8 — ← Prev page 1 2 3 4 5 [6] 7 8  Next page →


#117601

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2023-11-05 12:12 -0800
Message-ID<ui8t00$4c78$2@dont-email.me>
In reply to#117597
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?

[toc] | [prev] | [next] | [standalone]


#117603

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2023-11-05 12:18 -0800
Message-ID<ui8ta0$4c78$4@dont-email.me>
In reply to#117601
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.

[toc] | [prev] | [next] | [standalone]


#117609

FromKaz Kylheku <864-117-4973@kylheku.com>
Date2023-11-05 22:55 +0000
Message-ID<20231105145505.730@kylheku.com>
In reply to#117603
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.

[toc] | [prev] | [next] | [standalone]


#117611

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2023-11-05 18:53 -0800
Message-ID<ui9kf2$7a3q$2@dont-email.me>
In reply to#117609
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.

[toc] | [prev] | [next] | [standalone]


#117613

FromBonita Montero <Bonita.Montero@gmail.com>
Date2023-11-06 04:44 +0100
Message-ID<ui9nfn$bgou$1@raubtier-asyl.eternal-september.org>
In reply to#117601
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.

[toc] | [prev] | [next] | [standalone]


#117614

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2023-11-05 20:10 -0800
Message-ID<ui9ov4$bkh8$1@dont-email.me>
In reply to#117613
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.

[toc] | [prev] | [next] | [standalone]


#117616

FromBonita Montero <Bonita.Montero@gmail.com>
Date2023-11-06 05:16 +0100
Message-ID<ui9pb2$bn6v$2@raubtier-asyl.eternal-september.org>
In reply to#117614
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.

[toc] | [prev] | [next] | [standalone]


#117684

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2023-11-08 20:44 -0800
Message-ID<uiho40$21rab$5@dont-email.me>
In reply to#117616
On 11/5/2023 8:16 PM, Bonita Montero wrote:
> 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.

I want to say Bontia == Dr. Trolls-a-LOT?

[toc] | [prev] | [next] | [standalone]


#117617

FromKaz Kylheku <864-117-4973@kylheku.com>
Date2023-11-06 04:22 +0000
Message-ID<20231105200241.0@kylheku.com>
In reply to#117613
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.

[toc] | [prev] | [next] | [standalone]


#117618

FromBonita Montero <Bonita.Montero@gmail.com>
Date2023-11-06 05:37 +0100
Message-ID<ui9qhq$bra3$1@raubtier-asyl.eternal-september.org>
In reply to#117617
Am 06.11.2023 um 05:22 schrieb Kaz Kylheku:

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

So can you make a producer-consumer-queue with a benaphore ?

[toc] | [prev] | [next] | [standalone]


#117620

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2023-11-05 21:01 -0800
Message-ID<ui9rvh$bups$2@dont-email.me>
In reply to#117618
On 11/5/2023 8:37 PM, Bonita Montero wrote:
> Am 06.11.2023 um 05:22 schrieb Kaz Kylheku:
> 
>> Umm, nope! Because you can't use a mutex, for instance, in
>> signaling "item available" in a producer consumer queue.
> 
> So can you make a producer-consumer-queue with a benaphore ?

Huh? You can use a semaphore to allow a multi producer consumer queue to 
wait in the kernel for its slow paths. This is rather basic Bonita. wow.

[toc] | [prev] | [next] | [standalone]


#117619

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2023-11-05 21:00 -0800
Message-ID<ui9rsv$bups$1@dont-email.me>
In reply to#117617
On 11/5/2023 8:22 PM, Kaz Kylheku wrote:
> 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.
> 

Check out this bakery algorithm I did wrt a multi producer consumer queue:

https://groups.google.com/g/lock-free/c/acjQ3-89abE/m/a6-Di0GZsyEJ

Pretty nice, and can be used with futexes to get rid of the spins.

<pseudo code, membars aside for a moment>
______________________________________________
struct cell { uint32_t ver; double state; };

uint32_t head = 0;
uint32_t tail = 0;
cell cells[N]; // N must be a power of 2

void init() {
     for (uint32_t i = 0; i < N; ++i) cells[i].ver = i;
}

void producer(double state) {
     uint32_t ver = XADD(&head, 1);
     cell& c = cells[ver & (N - 1)];
     while (LOAD(&c.ver) != ver) backoff();
     c.state = state;
     STORE(&c.ver, ver + 1);
}

double consumer() {
     uint32_t ver = XADD(&tail, 1);
     cell& c = cells[ver & (N - 1)];
     while (LOAD(&c.ver) != ver + 1) backoff();
     double state = c.state;
     STORE(&c.ver, ver + N);
     return state;
}
______________________________________________

Pretty elegant logic...

[toc] | [prev] | [next] | [standalone]


#117624

FromBonita Montero <Bonita.Montero@gmail.com>
Date2023-11-06 09:36 +0100
Message-ID<uia8ib$demb$1@raubtier-asyl.eternal-september.org>
In reply to#117619
Am 06.11.2023 um 06:00 schrieb Chris M. Thomasson:

> void producer(double state) {
>      uint32_t ver = XADD(&head, 1);
>      cell& c = cells[ver & (N - 1)];
>      while (LOAD(&c.ver) != ver) backoff();
>      c.state = state;
>      STORE(&c.ver, ver + 1);
> }
> 
> double consumer() {
>      uint32_t ver = XADD(&tail, 1);
>      cell& c = cells[ver & (N - 1)];
>      while (LOAD(&c.ver) != ver + 1) backoff();
>      double state = c.state;
>      STORE(&c.ver, ver + N);
>      return state;
> }

Lock-free queues are more complex and even if they're implemented
correctly like with boost they suck because they're polled. They
for sure don't make it into the standard.


[toc] | [prev] | [next] | [standalone]


#117631

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2023-11-06 12:11 -0800
Message-ID<uibh9n$jujq$1@dont-email.me>
In reply to#117624
On 11/6/2023 12:36 AM, Bonita Montero wrote:
> Am 06.11.2023 um 06:00 schrieb Chris M. Thomasson:
> 
>> void producer(double state) {
>>      uint32_t ver = XADD(&head, 1);
>>      cell& c = cells[ver & (N - 1)];
>>      while (LOAD(&c.ver) != ver) backoff();
>>      c.state = state;
>>      STORE(&c.ver, ver + 1);
>> }
>>
>> double consumer() {
>>      uint32_t ver = XADD(&tail, 1);
>>      cell& c = cells[ver & (N - 1)];
>>      while (LOAD(&c.ver) != ver + 1) backoff();
>>      double state = c.state;
>>      STORE(&c.ver, ver + N);
>>      return state;
>> }
> 
> Lock-free queues are more complex and even if they're implemented
> correctly like with boost they suck because they're polled.

What do you mean by that? Why do you _seem_ to think that a lock-free 
queue cannot have slow-paths that wait in the kernel?


> They
> for sure don't make it into the standard.

I can get rid of the spin wrt the tickets using futexs. The queue logic 
is what I find rather elegant here. Also, I can use a benaphore for 
waiting logic. This bounded lock-free queue is pretty damn good.

Btw, there are different queues types.

multi-producer multi-consumer
single-producer multi-consumer

multi-producer single-consumer
single-producer single-consumer

All of them have their trade offs, and they have radically different 
algorithms to implement them efficiently.

[toc] | [prev] | [next] | [standalone]


#117635

FromBonita Montero <Bonita.Montero@gmail.com>
Date2023-11-06 23:52 +0100
Message-ID<uibqnh$lkgq$1@raubtier-asyl.eternal-september.org>
In reply to#117631
Am 06.11.2023 um 21:11 schrieb Chris M. Thomasson:

> What do you mean by that? Why do you _seem_ to think that a lock-free 
> queue cannot have slow-paths that wait in the kernel?

If it is lock-free there's no lock-free any more.

[toc] | [prev] | [next] | [standalone]


#117653

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2023-11-07 11:51 -0800
Message-ID<uie4gg$15j47$1@dont-email.me>
In reply to#117635
On 11/6/2023 2:52 PM, Bonita Montero wrote:
> Am 06.11.2023 um 21:11 schrieb Chris M. Thomasson:
> 
>> What do you mean by that? Why do you _seem_ to think that a lock-free 
>> queue cannot have slow-paths that wait in the kernel?
> 
> If it is lock-free there's no lock-free any more.
> 
> 

It is basically morphing any lock-free algorithm into something that has 
fast-paths that avoid the kernel, and slow paths the make use of the 
kernel. Imho, it's interesting to do.

[toc] | [prev] | [next] | [standalone]


#117615

FromBonita Montero <Bonita.Montero@gmail.com>
Date2023-11-06 05:15 +0100
Message-ID<ui9p9c$bn6v$1@raubtier-asyl.eternal-september.org>
In reply to#117601
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.

[toc] | [prev] | [next] | [standalone]


#117621

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2023-11-05 21:02 -0800
Message-ID<ui9s0m$bups$3@dont-email.me>
In reply to#117615
On 11/5/2023 8:15 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. 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.
> 

Wtf are you babbling on about!?!?!!?!?

[toc] | [prev] | [next] | [standalone]


#117622

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2023-11-05 21:05 -0800
Message-ID<ui9s6f$bups$5@dont-email.me>
In reply to#117621
On 11/5/2023 9:02 PM, Chris M. Thomasson wrote:
> On 11/5/2023 8:15 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. 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.
>>
> 
> Wtf are you babbling on about!?!?!!?!?

A mutex is not a semaphore. A semaphore is not a mutex.

:^)

[toc] | [prev] | [next] | [standalone]


#117625

FromBonita Montero <Bonita.Montero@gmail.com>
Date2023-11-06 09:37 +0100
Message-ID<uia8ku$demb$2@raubtier-asyl.eternal-september.org>
In reply to#117622
Am 06.11.2023 um 06:05 schrieb Chris M. Thomasson:

> A mutex is not a semaphore. A semaphore is not a mutex.

A mutex which doesn't maintain the identity of the locking
thread also can be used as a semaphore.

[toc] | [prev] | [next] | [standalone]


Page 6 of 8 — ← Prev page 1 2 3 4 5 [6] 7 8  Next page →

Back to top | Article view | comp.lang.c++


csiph-web