>>... how can I use an IOCTL interface like a condition variable? > >By using one of RTDM's services in your driver's IOCTL handler, >typically either a semaphore or an event. See the Xenomai API doc for >details - and have a look at the existing drivers...
Thank you. I'll take a better look on RTDM. >> ... I'll let you know when I finish it -- if I finish! ;) > >That's just a question of (re-)defining the goal when necessary. :) Maybe you're right, but I don't think my advisor will agree :) I think now it's time to put in practice what we've been discussing. When I get some results we return to this topic. Now, I'm concerned about how to use C++ on the framework. I mean, how can I allocate memory in a time bounded way in the robot and sensor classes with C++? I know I can't use libstdc++ and took a look at xeno-- but I didn't like the idea of using exceptions instead of returning some value, except for the new operator. It seems to me that it becomes too dificult to estimate the time between the exception is thrown to the time it is catched, as stated in EC++ (http://www.caravan.net/ec2plus/rationale.html). Any ideas are welcome. Thank you, Rodrigo. P.S: I couldn't send this message yesterday due to a break in the Internet system here. _______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html