From: Francis Moreau on
Hello,

I'd like to learn about this concept. Basically I know very little
about them but I think they can be usefull in a multithread context to
know if an object has been modified without taking any locks.

I tried to google but such general expressions like "version
numbering" doesn't give any revelant pointers.

Could anybody give me some pointers ?

thanks
From: Jongware on
On 24-Mar-10 10:46 AM, Francis Moreau wrote:
> Hello,
>
> I'd like to learn about this concept. Basically I know very little
> about them but I think they can be usefull in a multithread context to
> know if an object has been modified without taking any locks.
>
> I tried to google but such general expressions like "version
> numbering" doesn't give any revelant pointers.
>
> Could anybody give me some pointers ?

"Reference count".

Perhaps you were looking for "Lock-Free Reference Counting", Detlefs et
al. 2002 (http://research.sun.com/people/moir/pubs/LFRC-DC02.pdf).

[Jw]
From: Chris M. Thomasson on
"Francis Moreau" <francis.moro(a)gmail.com> wrote in message
news:818bc721-2c4e-4eab-8af0-bf68b68008e8(a)l25g2000yqd.googlegroups.com...
> Hello,
>
> I'd like to learn about this concept. Basically I know very little
> about them but I think they can be usefull in a multithread context to
> know if an object has been modified without taking any locks.
>
> I tried to google but such general expressions like "version
> numbering" doesn't give any revelant pointers.
>
> Could anybody give me some pointers ?

Perhaps a sequence lock might be of interest to you:

http://en.wikipedia.org/wiki/Seqlock

From: Rui Maciel on
Francis Moreau wrote:

> Hello,
>
> I'd like to learn about this concept. Basically I know very little
> about them but I think they can be usefull in a multithread context to
> know if an object has been modified without taking any locks.
>
> I tried to google but such general expressions like "version
> numbering" doesn't give any revelant pointers.
>
> Could anybody give me some pointers ?
>
> thanks

This may not be of much help but you could try posting your question in a newsgroup dedicated
to this sort of subject, such as comp.programming.threads.


Rui Maciel
 | 
Pages: 1
Prev: Threadpool 1.12 ...
Next: Threadpool 1.14 ...