shmat() system call?

Warren Tucker wht at n4hgf.Mt-Park.GA.US
Fri Aug 17 05:17:35 AEST 1990


In article <12638 at hydra.gatech.EDU> gt0178a at prism.gatech.EDU (BURNS,JIM) writes:
>in article <187 at n4hgf.Mt-Park.GA.US>, wht at n4hgf.Mt-Park.GA.US (Warren Tucker) says:
>< In article <27 at astph.UUCP> jeff at astph.UUCP (8592x2) writes:
>< To be sure, specify the attach address, regardless of what the FM says.
>< Make a small program that passes 0 for the address and see what it
>< returns.  Then, use that value hardcoded, possibly #defined for each
>< arcitecture you plan to run the program on.
>
>What if yours is not the only application creating and deleting shared
>memory segments? Are you saying you always get the same address?

Yes, in a virtual system where the shmat'd address is virtual.
 
-----------------------------------------------------------------------
Warren Tucker, TuckerWare   gatech!n4hgf!wht or wht at n4hgf.Mt-Park.GA.US
"Tell the moon; don't tell the March Hare: He is here. Do look around."



More information about the Comp.unix.wizards mailing list