Hello Is there any example which shows how to use WAITONCYCLE in user mode? Or some kind of documention?
I tried to copy it from /broken/netshm but this is kernel mode and I did not get very far. int rtmac; char rtmac_name[] = "TDMA0"; struct rtdm_getcontext_args getcontext; rtmac = open_rt(rtmac_name, O_RDONLY); if (rtmac < 0) { ret = rtmac; //goto err_rtmac1; printf("rtmac open failed!\n"); } --> NOW compiling problem getcontext.struct_version = RTDM_CONTEXT_STRUCT_VER; ret = ioctl_rt(rtmac, RTIOC_GETCONTEXT, &getcontext); if (ret < 0) { printf("rtmac RTIOC_GETCONTEXT failed!\n"); } Jochen ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users