Re: IPC between Tasks

Tobias Fink <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <CAEcha6aBoPvrHyB-gkKE0LAKKv_eZo-UPc5zUpYa5RqdPgU6ig@mail.gmail.com>
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"
);
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.