From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45D43650.9000109@domain.hid> Date: Thu, 15 Feb 2007 11:30:40 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 Subject: Re: [Xenomai-help] Make error References: <45D171F9.7000705@domain.hid> <45D192EB.9030608@domain.hid> <45D2CE22.5010105@domain.hid> <45D421EA.5070507@domain.hid> <45D431CF.5090201@domain.hid> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Preetam Joshi Cc: Xenomai-help@domain.hid, Jan Kiszka Preetam Joshi wrote: > Hi using it inside the task loop wwud give me RT_TASK_info as undeclared > its a global structure even as mentioned in the API documentation and > the behavior wud neways still remain the same as i mentioned in the code? > > Please execute the code and comment. I see nothing in rt_task_inquire documentation which suggests that info should be a global variable. Please make the variable info local to each thread, and call rt_task_inquire every time you want to get a task's priority. If you still observe something abnormal, please report. -- Gilles Chanteperdrix