[Xenomai] rt_sem_create problem

yogesh garg yogesh.garg1983 at gmail.com
Thu Jun 26 11:49:56 CEST 2014


Hi,
I want to protect my shared data structure in my kernel module. But when I
am
trying to call rt_sem_create(), my module makes system hang. Without
rt_sem_create()
call my code works fine.
Please help me whats the problem with rt_sem_create().

Code:-
    RT_SEM mysem;
  ret = rt_sem_create(mysem,"dsem",1,S_PRIO);
  printk(" Return value of sem_create : %d \n",ret);

ret value is success(0).

-- 
Regards,
Yogesh Garg



More information about the Xenomai mailing list