Christian, Also, I should mention that the reason i don't think the dataspace capabilities in the server main.cc and client main.cc is because when i print the 2 values after i obtain the capabilities, they should be the same if they are sharing the same memory.
Peter > Hello Peter, > > On Thu, Mar 11, 2010 at 07:21:28PM +1030, Peter Nguyen wrote: > > What i meant by this is that in the client code, I obtain the > > dataspace capability, write to that memory, and print the contents of > > that memory. After this, I create other variables to store the > > dataspace capability, and it refers to the same memory. However, I was > > under the impression that this memory could be shared by other > > components other than the client code. For instance, adding a > > connection to the server from the HTTP server code (for instance) > > seems to result in a different dataspace capability as printing the > > contents (casting the memory to an int) results in the value being 0. > > Maybe moving the code into the Session_component would probably fix > > this problem. > > IMO it's time for me to stop guessing what your code may look like or you > may try to say. Please post compilable source code and/or logs if you > want further support from my side. > > Ciao > -- > Christian Helmuth > Genode Labs > > http://www.genode-labs.com/ · http://genode.org/ > > Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden > Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Genode-main mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/genode-main > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Genode-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/genode-main
