|
From: Chris J. <ch...@at...> - 2004-02-20 07:54:11
|
> > > * we're also likely to be officially supporting other operating > > > systems (starting with Doug's FreeBSD port), so make sure that > > > any OS/library dependencies are factored out > > > > The code I've already written depends on Sys V IPC shm support but if > > gdbstub is used instead then this should be pretty OS neutral. > > If you do wind up sticking with shared memory I would seriously > recommend using mmaped memory if possible rather than Sys V shared > memory as it's much less likely to cause problems in my experience. Plain old MAP_SHARED isn't supported on Linux so that would mean using POSIX shm (shm_open, /dev/shm) instead. I'm not sure how portable that is. Chris |