rminnich@udel.EDU (Ron Minnich) (02/26/88)
I am trying to use Atomic Lock Memory. I know there are other mechanisms but i have a reason. I open /dev/alm/alm01 with no errors, and i do a: mmap(0x200000, pagesize, PROT_RDWR, MAP_SHARED, almfiledescriptor,0) and get no error from mmap. BUT, when i try to access 0x200000 from my code i almost always get a segmentation. The problem is weird, as pdbx will let me single step through the code, but not run through it; and in some m_forked code, whether i get a segmentation depends on how many processes are running! Can anyone send me a program which uses the alm and works. Ones that do m_forks are especially useful. Thanks ron -- ron (rminnich@udel.edu)