All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Difference between threads and tasks in Xenomai: -reg
@ 2012-03-05 19:55 SUBRAMANIAN NATESAN
  2012-03-05 20:01 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: SUBRAMANIAN NATESAN @ 2012-03-05 19:55 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

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?

-- 
Regards,
Subramanian.

[-- Attachment #2: Type: text/html, Size: 771 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] Difference between threads and tasks in Xenomai: -reg
  2012-03-05 19:55 [Xenomai-help] Difference between threads and tasks in Xenomai: -reg SUBRAMANIAN NATESAN
@ 2012-03-05 20:01 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2012-03-05 20:01 UTC (permalink / raw)
  To: SUBRAMANIAN NATESAN; +Cc: xenomai

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-05 20:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-05 19:55 [Xenomai-help] Difference between threads and tasks in Xenomai: -reg SUBRAMANIAN NATESAN
2012-03-05 20:01 ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.