Find the answer to your Linux question:
Results 1 to 3 of 3
Dear All, i'm trying to use shered memory to share data from a RT Linux process to a Non Real Time One. I've tried to use the rt_heap as the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    2

    Unhappy How to use SHARED MEMORY with Xenomai


    Dear All,
    i'm trying to use shered memory to share data from a RT Linux process to a Non Real Time One.
    I've tried to use the rt_heap as the on-line xenomai guide suggests but I was not able to reach the goal because of the on-line guide is not so rich in information.
    Could anyone give me an example code?
    thanks in advance
    Andrea

  2. #2
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2
    Some info here:

    Replace the () with a .

    * source= www()cs()cf()ac()uk/Dave/C/node27()html#SECTION002700000000000000000

    * 2ndary source= www()go4expert()com/forums/showthread()php?t=8461

    I'm not yet allowed to post url's directly I guess, sorry.

  3. #3
    Just Joined!
    Join Date
    Dec 2011
    Posts
    2
    Quote Originally Posted by realtime2 View Post
    Some info here:

    Replace the () with a .

    * source= www()cs()cf()ac()uk/Dave/C/node27()html#SECTION002700000000000000000

    * 2ndary source= www()go4expert()com/forums/showthread()php?t=8461

    I'm not yet allowed to post url's directly I guess, sorry.
    Dear realtime2,
    thanks for your help but I already knew the first one you posted.
    They both use shared memory coming from the POSIX standard, I instead looked for
    the NATIVE version which use rt_heap_create, rt_heap_alloc ect... .
    On the Xenomai Guide, they suggest to use the NATIVE version but i don't know why. I would suppose that the NATIVE one should be faster.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •