|
Hi, okay I think I need to explain a little bit more: I run on different machines a Lua script, the script has got a function like function iterate( data ) // doing something with data return data end The script runs on a cluster system (MPI), so I need to transfer the data of the Lua script to all other hosts. The user, that has written the Lua script, can return every Lua type, so I need not to know which data are returned of the script. I need only the "data memory block" and send the block to the other hosts, which are pushed the data into the lua pcall function for iterating the Lua script On the C/C++ side I don't need any knowledge about the returned data, I must store the data, and send them via MPI to the other hosts and the data is pushed into the lua_pcall function Thanks Phil Am 14.12.2012 um 11:22 schrieb Mak Nazečić-Andrlon: Why do you wish to do this? Perhaps there is a better way of accomplishing what you really want to do. |