From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: SUBRAMANIAN NATESAN <yenyes88@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Difference between threads and tasks in Xenomai: -reg
Date: Mon, 05 Mar 2012 21:01:31 +0100 [thread overview]
Message-ID: <4F551B9B.6060300@domain.hid> (raw)
In-Reply-To: <CADAaWNUQbHDzUMb6F3SP8qgxJbq5Yc58=OT8psFiDXUcCd=Dzg@domain.hid>
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.
prev parent reply other threads:[~2012-03-05 20:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F551B9B.6060300@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.org \
--cc=yenyes88@domain.hid \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.