Hi Daniel, On 02/14/2013 08:33 PM, Daniel Waddington wrote: > Hi, > Can I pass Native_capability types as [out] parameters using > "Native_capability *" type - with the cross-process mapping happening? > Most of the examples use only use the return value to do [out] > capabilities. i.e. GENODE_RPC(Rpc_foo,int,foo,Genode::Native_capability > *) doesn't seem to work, but there might be something else afoot.
actually it should work the way you've described it. I've tested it right now by extending the hello example the same way, and the capability was successfully transfered to the calling client as an argument. By the way, why do you use Native_capability instead of Capability? Although both should work, I would use the generic Capability class, especially in an interface. Best regards Stefan > > Daniel > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > > > > _______________________________________________ > Genode-main mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/genode-main > -- Stefan Kalkowski Genode Labs http://www.genode-labs.com/ ยท http://genode.org/ ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Genode-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/genode-main
