Subj : Re: Function pointers in shm shared memory ? To : comp.programming.threads From : Joe Seigh Date : Fri Apr 29 2005 09:11 am On Fri, 29 Apr 2005 13:01:25 +0200, CM wrote: > Hello all, > > In the process of seekeing the most > effective clientserver communication > for a personal project i stumble about > an idea. > > under linux 2.6 > > Is it possible to share a memory segment > which would contain a block of function > that call inside the server process. > > the client after obtaining the shared memory > segment would just have to call a function in > shared segment to actually call a function of > the server > [...] > Any thought about this mechanism ? > > Thanks > > I don't think you can get there from here. It's not code that you're trying to move between server and client, it's data. If you want shared code, why not use the shared library mechanism? -- Joe Seigh When you get lemons, you make lemonade. When you get hardware, you make software. .