On Tue, Jun 10, 2014 at 11:02:03AM +0300, Uri Sidler wrote: > Hi, > I am currently using a hash table in a multi-process environment. > the master process creates the hash table which is later used by other > secondary processes. > but the secondary processes fail to use the hash table since the hash > function address actually points to a different fucntion. (this makes sense > since the address of the hash function is in fact different per process). > How can I solve this issue? > > Thanks, > Shirley. >
Use shared memory. see shmget Neil