bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] libports: implement lockless management of threads


From: Neal H. Walfield
Subject: Re: [PATCH] libports: implement lockless management of threads
Date: Mon, 11 Nov 2013 22:02:46 +0100
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Yes, this is what I was thinking of.

I recall there being type defs for appropriate atomic types.  If that
is still the recommended approach, please update your patch
appropriately.

The most important thing, however, is ensuring that the semantics are
preserved.  That is, was the use of the values also protected by the
lock?  Does moving to atomic updates introduce a possible
inconsistency?  I haven't looked at the code.  Before this is checked
in, however, someone should.

Thanks,

Neal



reply via email to

[Prev in Thread] Current Thread [Next in Thread]