Increase IPC-Stream size
ba_f at rbg.informatik.tu-darmstadt.de
Mon May 4 19:23:01 CEST 2015
Am 2015-02-11 00:10, schrieb Adam Lackorzynski:
> On Wed Feb 04, 2015 at 13:28:11 +0100, ba_f wrote:
>> Am 2015-01-31 00:17, schrieb Adam Lackorzynski:
>> >>But tell me some about shared memory, please.
>> >>1.) is there an example, anywhere?
>> >There's at least the shmc example for the lib. But in a more simple form
>> >it is actually not needed. Have a dataspace, make it available to two
>> >tasks, and it's shared memory.
>> Ok, i prefer using the shmc.h.
>> But, the example (libs/shmc) runs two threads.
>> I would like to use shared_mem between two tasks.
>> Is it possible to use shmc.h to share memory between tasks?
>> I tried to partition 'thread_producer()' and 'thread_consume()' to two
>> But as expected, task_client doesn't know the shared_mem which
> The key is the sharing as you already noticed. The sharing goes via the
> namespace given to l4shmc_create. Give both programs the same namespace
> (created in ned's script) and they should be able to share.
Hello after long time,
the ned's script you mentioned is the lua .cfg, isnt it?
Giving them the same namespace, doesn't this make them ONE task, ie.
share ALL memory?
If not, can u give me an example how to share just 4kB, for example?
I've also seen a flexpage example: examples/libs/l4re/streammap/.
Is this a nice example for a 4kB Flexpage?
I need to transmit a 4kB buffer and 4kB as response.
What is L4's most elegant way to do so?
More information about the l4-hackers