[Xenomai] creating a user space task by RTDM library

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Wed Jun 11 20:18:42 CEST 2014

On 06/11/2014 10:25 AM, ali hagigat wrote:
> On 6/11/14, Gilles Chanteperdrix <gilles.chanteperdrix at xenomai.org> wrote:
>> On 06/10/2014 03:32 PM, ali hagigat wrote:
>>> Regarding xenomai 2.6.3, how rtdm_task_init() can be used in user
>>> space? and the types like rtdm_task_t. Compiling with rtdm/rtdm.h or
>>> rtdm/rtdm_driver.h produces errors.
>> RTDM is a kernel-space only skin.
>> --
>>                                                                 Gilles.
> The RTDM documentation and the code comments report that
> rtdm_task_init() can be used in user space.
The documentation says that a "User space task" is a valid context to
call rtdm_task_init, but this means that a user-space task, currently
executing kernel code, is a valid context, not that the function may be
called from user-space. Really, RTDM is an API for writing drivers
residing in kernel-space, it makes no sense to use it in user-space.


More information about the Xenomai mailing list