From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srinivas Chinta Subject: info needed on atomic operations Date: Thu, 1 Jan 2004 13:34:01 -0800 (PST) Sender: linux-newbie-owner@vger.kernel.org Message-ID: <20040101213401.36093.qmail@web21201.mail.yahoo.com> Mime-Version: 1.0 Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-newbie@vger.kernel.org Hi all, I need some information on atomic operations. Please provide me some information on how do I do the following operations atomically(for iX86): (1) set a charecter ( dst = src), (2) compare and then set a charecter ( if (dst==X) dst = src;) It would be great If you provide some references to any good documents. Thanks, Srini __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 - To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs