[uClinux-dev] direct func call

Phil Wilshire philwil at earthlink.net
Sat Mar 8 22:37:35 EST 2003

You will probably have to show us some code example so that we can see what you are trying to do.

  Phil Wilshire

> ChangDa Tong wrote:
> Hello
> The question troubles me most, Hope anyone could give a hit
> I got a client and server function running under uClinux 2.0.38 , in order to reduce communication cost
> I design the client to fetch the address of a function that in server, then call it on the client side
> directly instead of using socket, it is ok but if this contain a free(ptr), the ptr(global) is malloced on the startup of
> server process, after the free call , a error message occur:
>     munmap of non-mmaped memory by process 10 (client): 00045238
> I know call directly is not a good idea, but i need this way to impove performance, Can you give me some idea?
> Thanks you and soryy for my poor english

SDCS -- System Design & Consulting Services LLC, http://www.sysdcs.com
** Embedded Linux Training **  email me for details  
630 Springhouse Sq., Leesburg VA 20175 t: 703 669 9766 f: 703 669 9768

More information about the uClinux-dev mailing list