Jim Helman (jimh++at++surreal)
Wed, 24 May 95 13:50:17 -0700
The solution (which is built into 2.0) is to use usconfig to specify
a suitable ATTACH_ADDR before calling usinit or pfNewDPool.
rgds,
-jim helman
jimh++at++surreal.asd.sgi.com
415/390-1151
To: fred++at++vsl.ist.ucf.edu (ALFREDO)
Cc: info-performer++at++sgi.sgi.com
Subject: Re: datapools
In-Reply-To: Your message of "Sun, 08 Jan 95 18:35:13 EST."
<9501082335.AA26147++at++onyx.vsl.ist.ucf.edu>
Date: Mon, 09 Jan 95 17:54:48 -0800
From: Jim Helman <jimh++at++surreal>
The problem is that pfDataPools must reside at the same space in every
process (see usinit(1)). Performer currently leaves the choice of
address up to IRIX. This means that pfNewDPool should be called in
the larger process and pfAttachDPool should be called as early as
possible in the smaller process. It's OK to make calls like
pfNotifyLevel and pfAttachDPool before pfInit(). Errno 16 (EBUSY)
indicates a memory conflict.
In the next release, Performer will try to choose a good place in
virtual address space for datapool arenas. In the meantime, you can
call usconfig with CONF_ATTACHADDR, to specify an allocation address
out in the boonies of addressland. Just be sure to set it back to ~0
after the call to pfNewDPool. My choice for an address would be
something just below the stack, say between 0x7f000000 and 0x7ff00000.
rgds,
-jim helman
jimh++at++surreal.asd.sgi.com
415/390-1151
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:30 PDT