Re: [Xenomai] timer_create( ) invalid argument

2015-08-27 Thread Philippe Gerum
On 08/28/2015 01:49 AM, Gilles Chanteperdrix wrote: > On Thu, Aug 27, 2015 at 11:40:48PM +0200, Konstantinos Chalas wrote: >> Hello, >> >> I have been trying to port some code from the Linux Kernel to the Cobalt >> Kernel, with no success. >> >> When trying to call timer_create( ), i am getting the

Re: [Xenomai] timer_create( ) invalid argument

2015-08-27 Thread Gilles Chanteperdrix
On Thu, Aug 27, 2015 at 11:40:48PM +0200, Konstantinos Chalas wrote: > Hello, > > I have been trying to port some code from the Linux Kernel to the Cobalt > Kernel, with no success. > > When trying to call timer_create( ), i am getting the error timer_create: > Invalid argument > > I made the co

[Xenomai] timer_create( ) invalid argument

2015-08-27 Thread Konstantinos Chalas
Hello, I have been trying to port some code from the Linux Kernel to the Cobalt Kernel, with no success. When trying to call timer_create( ), i am getting the error timer_create: Invalid argument I made the code snippet as small as possible. #include #include #include void timerfunctio