🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sequent
1 messages
1 total messages Started by Ron Minnich Fri, 26 Feb 1988 03:23
trying to use Atomic Lock Memory
#640
Author: 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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads