From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49B8FB5E.1050907@domain.hid> Date: Thu, 12 Mar 2009 13:09:02 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <49B8EE0A.3050708@domain.hid> <49B8F602.9090808@domain.hid> <8334A175-8F99-499D-9466-5F0B508FF5DD@comcast.net> In-Reply-To: <8334A175-8F99-499D-9466-5F0B508FF5DD@comcast.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] rtdm timer questions List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Steven Seeger Cc: xenomai@xenomai.org Steven Seeger wrote: > I think I see what my problem is with the driver. The flag that is > holding off the extra starts is stupidly not set to volatile. Oops. I'll > report back with results later. Be careful with volatile variables: Unless they refer to hardware-backed data (MMIO), you may just happen to write racy lock-less code - or the volatile is useless anyway. Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux