IPC between Tasks

Tobias Fink tobias.fink at stud.h-da.de
Thu Jun 14 11:30:41 CEST 2012


Hi,

thank you for your quick answer

2012/6/13 Sartakov A. Vasily <sartakov at ksyslabs.org>:
> 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"
);




More information about the l4-hackers mailing list