On 16/01/12 10:24 AM, Philippe Gerum wrote:
On 01/16/2012 04:09 PM, Makarand Pradhan wrote:
To ensure that I understand correctly, let me rephrase my understanding.
In 3.0, the rt_pipe_create and friends will cease to exist. We have to
start using the sockets with domain AF_RTIPC and protocol IPCPROTO_XDDP
Is that a correct statement?
Basically, yes. In addition, X3 will keep the RT_PIPE interface for the
-rt endpoint available on the application-side, by wrapping a XDDP
socket to a RT_PIPE descriptor under the hood. In kernel space however,
the RT_PIPE API to create -rt endpoints won't be available anymore, one
will have to create them via the rtdm_socket/rt_dev_socket calls.
In any case, the API for the non-rt side does not change, i.e. POSIX
file I/O calls will still be the way to interface with the -rt endpoint.
On 16/01/12 09:35 AM, Philippe Gerum wrote:
On 01/16/2012 03:25 PM, Makarand Pradhan wrote:
"Real-time pipes are deprecated."
We use a lot of rt pipes. So, can you pl elaborate on this? I would
highly appreciate if you can comment on the following.
1. When will the rt pipe interface be removed? Any time frame?
Xenomai 3. Xenomai 2.x will keep them forever.
2. Would like to understand the reason for deprecating the interface.
- Because there is a better socket-based API implemented by the RTIPC
driver w/ the XDDP protocol, which does not require running application
level code in kernel space (RT_PIPE is definitely an application level
API). This new interface is available since Xenomai 2.5.x. It is
functionally 100% equivalent to the legacy RT_PIPE API.
- Because no support will be provided in Xenomai 3 for running
application level code in kernel space, so RT_PIPE have to go from
kernel space. However, RT_PIPE are still part of the user-space API of
Xenomai 3, interfacing with XDDP endpoints in kernel space.
I'm really referring to application level code, by contrast to RTDM
driver level code which will obviously remain a first-class citizen in
o examples/rtdm/profiles/ipc in the Xenomai distro
Thanks and Rgds,
On 15/01/12 12:37 PM, Gilles Chanteperdrix wrote:
Real-time pipes are deprecated.
NOTICE OF CONFIDENTIALITY:
This e-mail and any attachments may contain confidential and privileged
information. If you are
not the intended recipient, please notify the sender immediately by return
e-mail and delete this
e-mail and any copies. Any dissemination or use of this information by a
person other than the
intended recipient is unauthorized and may be illegal.
Xenomai-core mailing list