On Tue, 26 Jun 2001 [EMAIL PROTECTED] wrote: > Your right, this can do that. However, we really can't keep that from > happening. In reality, the mmap_setaside function should just map it back > to a file opened out of the new pool.
Hmmm... why's that? Once the file is MMAPed, you don't even need the original file to be open anymore (you don't have a reference to it anyhow). The OS's MMAP doesn't know anything about pools, so all we have to do is transfer the apr_mmap_t structure itself over to a new pool and we're done. What am I missing? --Cliff -------------------------------------------------------------- Cliff Woolley [EMAIL PROTECTED] Charlottesville, VA
