Re: IPC between Tasks

Michael Jahn <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hello Tobias,

maybe try something like this:

-- Include L4 functionality
require("L4");

local l     = L4.default_loader;
local nsshm = l:create_namespace({});

L4.default_loader:start(
   {
     caps = { testshm = nsshm:m("rws") },
     log  = { "shmc", "yellow" }
   },
   "rom/ex_shmc"
);


Micha

On 06/14/2012 11:30 AM, Tobias Fink wrote:
> Hi,
>
> thank you for your quick answer
>
> 2012/6/13 Sartakov A. Vasily<[email protected]>:
>> You need to add in LUA file communication channel:
>>
>> http://os.inf.tu-dresden.de/L4Re/doc/examples_2libs_2l4re_2c_09_09_2shared_ds_2shared_ds_8lua-example.html
> That works for the shared_ds example but I as I tried to get the
> prodcons example to work it still fails. This is the Lua-Script I was
> using:
>
> -- Include L4 functionality
> require("L4");
>
> -- Create a channel from the client to the server
> local channel = L4.default_loader:new_channel();
>
> L4.default_loader:start(
>    {
>      caps = { shm = channel:svr() },
>      log  = { "shmc", "yellow" }
>    },
>    "rom/ex_shmc"
> );
>
> _______________________________________________
> l4-hackers mailing list
> [email protected]
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.