From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F551B9B.6060300@domain.hid> Date: Mon, 05 Mar 2012 21:01:31 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Difference between threads and tasks in Xenomai: -reg List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: SUBRAMANIAN NATESAN Cc: xenomai@xenomai.org On 03/05/2012 08:55 PM, SUBRAMANIAN NATESAN wrote: > Hi, > > What is the difference between the threads and tasks in Xenomai. Tasks are > defined in skins and threads in kernel. rt_task_info and xnthread_info > structures have the similar variables, which have information regarding > corresponding task or thread. > > Also, during context switch, whether thread control block or task control > block is used? Where would be the program counter and all the necessary > details stored? task is just the usual name for threads, in the context of RTOSes. Legacy RTOSes and native skin speak about tasks whereas the posix skin speaks about thread, but that is the only difference. -- Gilles.