Remain Blessed Wole Adetayo —Our greatest duty in this life is to help others. Vladimir Zamkovoy Posted February 23, 0 Comments. Anonymous Posted February 24, 0 Comments. Please take a read on the following document: The information in this document pertains to AIX 4. Register or Login. Welcome back! Sign in with Email.
Reset Your Password We'll send an email with a link to reset your password. Stay ahead! Get the latest news, expert insights and market research, tailored to your interests. Sign up with Email. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. How to send file descriptor by shared memory. Registered User.
Join Date: Feb PHP Code:. Last edited by akalend; at PM.. Join Date: Aug Originally Posted by akalend. Find all posts by Corona Two processes cannot shared a single file descriptor , Sending a file descriptor does not mean that you can open and access the file, its just a number for the other process.
Otherwise send a file name via shared memory and make the other process to open and get a file descriptor for itself then access the file. Shared library with acces to shared memory.
A file will have some variables and the shared library will have some functions which need those variables. There is one special How to know wich process is using the shared memory? How to flush release the process from the shared memory?
Beginning with AIX 4. Each of these segments are MB in size. Typical use is by database applications for use as a large database buffer cache. Paging space is allocated for shared memory regions just as it would for the process private segment paging space is used as soon as the pages are touched if deferred page space allocation policy is off.
AIX provides a feature called Extended Shared Memory, which allows for more granular shared memory regions that can be in size of 1 byte up to MB. However, the address space consumption will be rounded up to the next page byte boundary. Extended Shared Memory essentially removes the limitation of only 11 shared memory regions, but note that when using EXTSHM, the mmap services are actually used and thus will have the same performance implications of mmap.
There is no limit on the number of shared memory regions that a process can attach.
0コメント