On Sat, Feb 20, 2010 at 11:31:28PM +0000, Chris Morley wrote:
> What is the best / standard way to test for the real time kernal?

That's a good question, and one that turns out didn't have a great
answer.

In parts of emc2 coded in c/c++ you check RTAPI_SIM.

I just added to 2.4 and master the two attributes hal.is_sim and
hal.is_rt.  On any system, exactly one of them will be true, and that
will tell you whether the version of emc you're using is compiled for
simulation only or has realtime support.

It has occurred to me belatedly that you may be talking about the same
test as the emc script runs to check for the right kernel version (since
it doesn't do you any good to compile emc2 with realtime support if you
have the wrong kernel) -- if this is what you meant, let me know and
I'll code that up for Python too.

Finally, I merged v2.4 into master so that the new attributes would be
available on both.  That involved merging some of the commits you've
made to pncconf on v2.4_branch, so if one of those commits is the one
that is undesirable on master, now is the time to 'git revert' it on the
master branch.  As far as I've been able to discern, that's a perfectly
good way to do it.

Jeff

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to