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


Groups > comp.programming.threads > #7394

Re: More of my philosophy about my new inventions and more..

From Bonita Montero <Bonita.Montero@gmail.com>
Newsgroups comp.programming.threads
Subject Re: More of my philosophy about my new inventions and more..
Date 2022-02-18 17:41 +0100
Organization A noiseless patient Spider
Message-ID <suoi8n$utn$1@dont-email.me> (permalink)
References (2 earlier) <709fc805-becd-4074-a827-8563ae5b9d6an@googlegroups.com> <sumarm$mp7$1@dont-email.me> <9ea34a2d-4a03-4fc2-914c-b159fb679b03n@googlegroups.com> <sunefv$j1g$1@dont-email.me> <45761848-3160-472d-b056-0de054ff19e1n@googlegroups.com>

Show all headers | View raw


Am 18.02.2022 um 16:58 schrieb Amine Moulay Ramdane:
> On Friday, February 18, 2022 at 1:31:31 AM UTC-5, Bonita Montero wrote:
>> Am 17.02.2022 um 22:28 schrieb Amine Moulay Ramdane:
>>> On Thursday, February 17, 2022 at 3:23:22 PM UTC-5, Bonita Montero wrote:
>>>> Am 17.02.2022 um 20:41 schrieb Amine Moulay Ramdane:
>>>>> On Thursday, February 17, 2022 at 2:27:30 PM UTC-5, Bonita Montero wrote:
>>>>>> Am 17.02.2022 um 20:02 schrieb Amine Moulay Ramdane:
>>>>>>> Hello,
>>>>>>>
>>>>>>>
>>>>>>> More of my philosophy about my new inventions and more..
>>>>>>>
>>>>>>> I am a white arab and i think i am smart since i have also invented many scalable algorithms..
>>>>>>>
>>>>>>>
>>>>>>> I think i am smart, and i say that x86 processor family features a fairly strict memory model that only allows the reorderings of loads before independent store operations, so i have just invented a fully Lockfree FIFO bounded queue and a fully Lockfree LIFO bounded stack that also run on x86 processor family and they are much more powerful than my following inventions:
>>>>>> Lock-free queues totally suck since they have to be polled.
>>>>>> The only lock-free structure that is useful is a lock-free stack
>>>>>> for pooing objects and handling back items to a thread like with
>>>>>> modern memory-allocators.
>>>>>
>>>>>
>>>>> Typically, polling a lock-free queue works best when the queue nearly always has entries, a blocking queue works best when the queue is nearly always empty.
>>>> Forget it - no one wants to poll a queue. Having limited
>>>> polling with spinning for a while is the best of both sides.
>>>
>>>
>>> You have to understand Bonita that lockfree has advantages and disadvantages, so since lock-free queue works best when the queue nearly always has entries, ...
>>
>> This can't be guaranteed since the producer can be scheduled away.
>> No one uses lock-free queues, they're simply silly.
> 
> 
> I think you are not understanding, since you are trying to generalize more
> and you are saying that it is not working, but it is not the right way ,
> since you have to know how to fix the number of consumers and producers
> so that it works. ..

The number of consumers and producers doesn't matter. If a producer
can be scheduled away a consumer would poll for a vers long time.

Back to comp.programming.threads | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

More of my philosophy about my new inventions and more.. Amine Moulay Ramdane <aminer68@gmail.com> - 2022-02-17 11:02 -0800
  Re: More of my philosophy about my new inventions and more.. Bonita Montero <Bonita.Montero@gmail.com> - 2022-02-17 20:27 +0100
    Re: More of my philosophy about my new inventions and more.. Amine Moulay Ramdane <aminer68@gmail.com> - 2022-02-17 11:41 -0800
      Re: More of my philosophy about my new inventions and more.. Bonita Montero <Bonita.Montero@gmail.com> - 2022-02-17 21:23 +0100
        Re: More of my philosophy about my new inventions and more.. Amine Moulay Ramdane <aminer68@gmail.com> - 2022-02-17 13:28 -0800
          Re: More of my philosophy about my new inventions and more.. Bonita Montero <Bonita.Montero@gmail.com> - 2022-02-18 07:31 +0100
            Re: More of my philosophy about my new inventions and more.. Amine Moulay Ramdane <aminer68@gmail.com> - 2022-02-18 07:58 -0800
              Re: More of my philosophy about my new inventions and more.. Bonita Montero <Bonita.Montero@gmail.com> - 2022-02-18 17:41 +0100
                Re: More of my philosophy about my new inventions and more.. Amine Moulay Ramdane <aminer68@gmail.com> - 2022-02-18 08:56 -0800
                Re: More of my philosophy about my new inventions and more.. Amine Moulay Ramdane <aminer68@gmail.com> - 2022-02-18 12:50 -0800
    Re: More of my philosophy about my new inventions and more.. Amine Moulay Ramdane <aminer68@gmail.com> - 2022-02-17 11:44 -0800
      Re: More of my philosophy about my new inventions and more.. Amine Moulay Ramdane <aminer68@gmail.com> - 2022-02-17 11:49 -0800

csiph-web