Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751095AbWIHSWn (ORCPT ); Fri, 8 Sep 2006 14:22:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751145AbWIHSWk (ORCPT ); Fri, 8 Sep 2006 14:22:40 -0400 Received: from smtp-out001.kontent.com ([81.88.40.215]:34541 "EHLO smtp-out.kontent.com") by vger.kernel.org with ESMTP id S1751095AbWIHSWY (ORCPT ); Fri, 8 Sep 2006 14:22:24 -0400 From: Oliver Neukum To: Alan Stern Subject: Re: Uses for memory barriers Date: Fri, 8 Sep 2006 20:22:40 +0200 User-Agent: KMail/1.8 Cc: "Paul E. McKenney" , David Howells , Kernel development list References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609082022.41043.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 545 Lines: 15 > I'm not sure what you mean. The code wasn't intended to "work" in any > sense; it was just to make a point. My question still stands: Is it > possible, in the code as I originally wrote it, for the assertion to fail? Sorry, I misread || for &&. The assertion will be true. Regards Oliver - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/