lkml.org 
[lkml]   [1996]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectShared memory
Hey,

Im working on a project, where a process should maintain a huge memory
array (about 30-40 MB).

Other processes or communicating via connect/bind/accept to this process.
Each time a connection is made, the server-process is forked. But all my
server processes, has to have access to the same memory array.

How do I make this?

shmget can only take 16MB arrays, why? Can I change the #define in
include/asm/shmparam.h?

I cannot use fork, because it makes a new array... I have read about the
clone call, can I use it?


Please help...

Thomas Bjoerk
Denmark




\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.024 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site