From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srinivas Chinta Subject: info needed on atomic operations Date: Sun, 4 Jan 2004 04:24:43 -0800 (PST) Sender: linux-newbie-owner@vger.kernel.org Message-ID: <20040104122444.98101.qmail@web21208.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