Re: 回复: Shared Memory by using RT_HEAP

2021-04-01 Thread steve freyder via Xenomai
t;xenomai"; *????:*?0?2Re: Shared Memory by using RT_HEAP Hello, I suspect that your problem may be the same as I had earlier. If you are sharing heaps then you have more than one program that needs to have the same Xenomai session. Here is how I spawn two programs that share the same heap an

Re: 回复: Shared Memory by using RT_HEAP

2021-04-01 Thread Peter Laurich via Xenomai
first time. In addition, I would like to know if there is other method ? Best regards, Zhou Yang --?0?2?0?2-- *??:* "Peter Laurich" ; *:*?0?22021??4??1??(??) 8:43 *??:*?0?2"xenomai"; *????:*?0?2Re: Shared Mem

?????? Shared Memory by using RT_HEAP

2021-04-01 Thread zy via Xenomai
Hi Peter, You solved what has troubled me for a long time. Thank you for your reply. I know the conception of session of linux for the first time.  In addition, I would like to know if there is other method ? Best regards, Zhou Yang --  -- ??:

Re: Shared Memory by using RT_HEAP

2021-04-01 Thread Peter Laurich via Xenomai
Hello, I suspect that your problem may be the same as I had earlier. If you are sharing heaps then you have more than one program that needs to have the same Xenomai session. Here is how I spawn two programs that share the same heap and other Xenomai objects:    ./initSys  --session=akamina

Shared Memory by using RT_HEAP

2021-03-31 Thread zy via Xenomai
Hi all, On Xenomai-2.6.5, I use rt_heap_create with flag "H_SHARED" to create rt_heap in one process and call rt_heap_bind to get this rt_heap by the same name in another process. I use rt_heap as shared memory between process. But on Xenomai-3.1, I find this method does not work. When calling rt