🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sequent
Article #640

trying to use Atomic Lock Memory

#640
From: Ron Minnich
Date: Fri, 26 Feb 1988 03:23
15 lines
1008 bytes
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)
Technical Details
Message-ID: <1195@louie.udel.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!nbires!hao!gatech!udel!rminnich

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!nbires!hao!gatech!udel!rminnich
From: rminnich@udel.EDU (Ron Minnich)
Newsgroups: comp.sys.sequent
Subject: trying to use Atomic Lock Memory
Message-ID: <1195@louie.udel.EDU>
Date: 26 Feb 88 03:23:18 GMT
Reply-To: rminnich@udel.EDU (Ron Minnich)
Organization: University of Delaware
Lines: 15