home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.misc:3001 comp.unix.xenix.sco:2558 comp.unix.programmer:3867 comp.unix.questions:9342
- Newsgroups: comp.unix.misc,comp.unix.xenix.sco,comp.unix.programmer,comp.unix.questions
- Path: sparky!uunet!gatech!cc.gatech.edu!news
- From: goldsman@cc.gatech.edu (Michael G. Goldsman)
- Subject: Question about Attaching to Shared Memory Segs--shmat
- Message-ID: <1992Jul23.171524.18330@cc.gatech.edu>
- Sender: news@cc.gatech.edu
- Reply-To: goldsman@cc.gatech.edu
- Organization: Georgia Institute of Technology, College of Computing
- Date: Thu, 23 Jul 1992 17:15:24 GMT
- Lines: 41
-
- I was wondering if the system imposed limit of the max
- # of shared memory segments a process may attach at one
- time, may be changed at all...
-
-
- I am running SCO Open Desktop on a 486, and
- am using the operations: shmget, shmctl, shmat etc...
- from the shm library.
-
-
- In shm.h, I noticed this stucture:
-
-
- struct shminfo {
- int shmmax, /* max shared memory segment size */
- shmmin, /* min shared memory segment size */
- shmmni, /* # of shared memory identifiers */
- shmseg, /* max attached shared memory */
- /* segments per process */
- shmall; /* max total shared memory system */
- /* wide (in clicks) */
- };
-
-
-
- I would just love to be able to access shmseg and up the number
- by a few.... Am I out of luck?
- Who uses this structure? I can seem to find a ref to it anywhere...
-
-
- -Mike
- ------------------------------------------------------------------------
- Mike Goldsman __o o__ o__ o__ o__
- 36004 Ga Tech Station _ \<,_ _.>/ _ _.>/ _ _.>/ _ _.>/ _
- Atlanta, Georgia 30332 (_)/ (_) (_) \(_) (_) \(_) (_) \(_) (_) \(_)
- begin 600 mikeskey.pub
- MF8X ZAA:*@AG;VQD<VUA;MX#Y\YJH.AUL%\6;SRX-DN*(L=DZ6B)L]FK,"W=
- M=M*D*SE]!5CAMC<7T Y5ZMO CV_L/*A+P!L"CE>F4E6K1P.[)Z%6I)@$M_I<
- M2-L>:-]*PXH 70_R)Z^HD:Q!1LA;$DL6\I3SJZ/%TB& )A]%NL$2UI.R;@'W
- *;AEF;KPY+P4 $0_R
- end
-