comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Lock-Free stack in Ada SPARK
Date: Sat, 11 Feb 2017 20:36:29 +0100
Date: 2017-02-11T20:36:29+01:00	[thread overview]
Message-ID: <o7np0i$iu$1@dont-email.me> (raw)
In-Reply-To: <7f2e7b06-d287-437c-835d-c4a9d53ea7e1@googlegroups.com>

Perhaps someone will enlighten me.

All of the lock-free structures that I've looked at involved busy waiting on a 
memory location via an atomic test-and-set/compare-and-swap operation.

To my mind, that's an implementation of a lock, and I don't understand why these 
are considered lock free.

-- 
Jeff Carter
"Crucifixion's a doddle."
Monty Python's Life of Brian
82

  reply	other threads:[~2017-02-11 19:36 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-11  3:07 Lock-Free stack in Ada SPARK stevenselectronicmail
2017-02-11  9:57 ` Hadrien Grasland
2017-02-11 10:07   ` Hadrien Grasland
2017-02-11 10:08     ` Hadrien Grasland
2017-02-11 10:14       ` Hadrien Grasland
2017-02-11 17:34         ` stevenselectronicmail
2017-02-11 19:36           ` Jeffrey R. Carter [this message]
2017-02-11 20:42             ` stevenselectronicmail
2017-02-11 22:40             ` Dmitry A. Kazakov
2017-02-11 23:02               ` stevenselectronicmail
2017-02-12  8:30                 ` Dmitry A. Kazakov
2017-02-12 12:26             ` Hadrien Grasland
2017-02-12 12:49               ` Dmitry A. Kazakov
2017-02-12 13:19                 ` Hadrien Grasland
2017-02-12 14:57                   ` Dmitry A. Kazakov
2017-02-12 13:04               ` Hadrien Grasland
2017-02-12 22:25 ` Robert Eachus
2017-02-13  8:22   ` Dmitry A. Kazakov
2017-02-13 20:04   ` stevenselectronicmail
2017-02-21  1:51     ` Robert Eachus
2017-02-21  8:44       ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox