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


Groups > comp.arch > #31473

Re: Efficient lock free FIFO

From "Chris M. Thomasson" <nospam@nospam.nospam>
Newsgroups comp.arch
Subject Re: Efficient lock free FIFO
Date 2015-12-05 13:51 -0800
Organization Aioe.org NNTP Server
Message-ID <n3vm9l$tus$1@speranza.aioe.org> (permalink)
References <ec9545f0-93a8-4672-8f59-695eee864d30@googlegroups.com> <e7740fc3-617b-418f-bd8d-be7d1f474ac8@googlegroups.com> <4b280570-70dd-43b5-9265-f15a2e204b6c@googlegroups.com> <710d5ba5-096d-42c0-96b3-f378d3354af6@googlegroups.com> <n3vlqs$t2c$1@speranza.aioe.org>

Show all headers | View raw


> "Chris M. Thomasson"  wrote in message 
> news:n3vlqs$t2c$1@speranza.aioe.org...
[...]

> FWIW, sometimes one can use the typical lock-free LIFO algorithm
> and pull all the nodes off in a single atomic exchange op.

[...]

http://publibz.boulder.ibm.com/epubs/pdf/dz9zr002.pdf

(Appendex A/Multi-Programming/Processing Examples/Conditional Swapping 
Instruction)

Instead of using DWCAS to pull a single node at a time, use an atomic
exchange/swap to get all the nodes at once.

No version counter needed in this case.

And one can delete nodes without causing the sky to fall...

;^) 

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


Thread

Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-03 18:56 -0800
  Re: Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-03 19:22 -0800
  Re: Efficient lock free FIFO Ivan Godard <ivan@millcomputing.com> - 2015-12-03 19:32 -0800
    Re: Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-03 19:36 -0800
      Re: Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-03 19:40 -0800
  Re: Efficient lock free FIFO "Chris M. Thomasson" <nospam@nospam.nospam> - 2015-12-03 21:46 -0800
    Re: Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-04 00:12 -0800
      Re: Efficient lock free FIFO "Chris M. Thomasson" <nospam@nospam.nospam> - 2015-12-04 13:59 -0800
        Re: Efficient lock free FIFO "Chris M. Thomasson" <nospam@nospam.nospam> - 2015-12-04 14:06 -0800
        Re: Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-04 15:36 -0800
          Re: Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-04 15:40 -0800
        Re: Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-04 15:53 -0800
          Re: Efficient lock free FIFO "Chris M. Thomasson" <nospam@nospam.nospam> - 2015-12-05 13:36 -0800
            Re: Efficient lock free FIFO "Chris M. Thomasson" <nospam@nospam.nospam> - 2015-12-05 13:39 -0800
  Re: Efficient lock free FIFO already5chosen@yahoo.com - 2015-12-04 01:59 -0800
    Re: Efficient lock free FIFO nmm@wheeler.UUCP (Nick Maclaren) - 2015-12-04 10:28 +0000
      Re: Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-04 07:08 -0800
      Re: Efficient lock free FIFO "Chris M. Thomasson" <nospam@nospam.nospam> - 2015-12-05 17:55 -0800
        Re: Efficient lock free FIFO "Chris M. Thomasson" <nospam@nospam.nospam> - 2015-12-05 17:59 -0800
        Re: Efficient lock free FIFO already5chosen@yahoo.com - 2015-12-06 04:03 -0800
          Re: Efficient lock free FIFO nmm@wheeler.UUCP (Nick Maclaren) - 2015-12-06 12:43 +0000
    Re: Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-04 06:56 -0800
      Re: Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-04 07:04 -0800
      Re: Efficient lock free FIFO already5chosen@yahoo.com - 2015-12-05 08:56 -0800
        Re: Efficient lock free FIFO "Chris M. Thomasson" <nospam@nospam.nospam> - 2015-12-05 13:43 -0800
          Re: Efficient lock free FIFO "Chris M. Thomasson" <nospam@nospam.nospam> - 2015-12-05 13:51 -0800
  Re: Efficient lock free FIFO (Something ...?) jacko <jackokring@gmail.com> - 2015-12-06 07:08 -0800
  Re: Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-06 11:58 -0800
    Re: Efficient lock free FIFO "Chris M. Thomasson" <nospam@nospam.nospam> - 2015-12-06 13:02 -0800
      Re: Efficient lock free FIFO jacko <jackokring@gmail.com> - 2015-12-06 13:37 -0800

csiph-web