Hi,
I have a problem with the shared memory resizing. I am not sure whether it
can be resized by another process. Please share your views/opinions about
the resizing.
I have a process A which creates the shared memory of some size with
read/write mode and MAP_SHARED flags. Process A creates the shared memory
and writes some data and exits. (I am not unmapping the shared memory).
Process B maps this shared memory into its address space. I have a
requirement that Process B should resize the shared memory at runtime.
I found that process B can resize the shared memory with the ftruncate
function. But the problem I am facing is if the process B is stopped and
respawned again the resized portion of the shared memory is no more
accessible. Process B is a kind of data editor application which will be
started based upon the requirement.
I would be grateful for any help offered .
thanks in advance.
Best regards,
raj korem
Resizing the shared memory..
bridged with qdn.public.articles
Post Reply
1 post
• Page 1 of 1
Return to “qdn.public.articles”
Jump to
- New qnx.* Newsgroup
- ↳ qnx.newuser
- ↳ qnx.rtos
- ↳ qnx.gui
- ↳ qnx.development_tools
- ↳ qnx.ddk
- ↳ qnx.porting
- ↳ qnx.bsp
- ↳ qnx.qnx4
- ↳ qnx.3rdparty_product_announcements
- ↳ qnx.cafe
- ↳ qnx.public.sysadmin
- ↳ qnx.evaluation
- QDN Newsgroups
- ↳ qdn.cafe
- ↳ qdn.public.qnx2
- ↳ qdn.public.qnx4
- ↳ qdn.public.neutrino
- ↳ qdn.public.photon
- ↳ qdn.public.porting
- ↳ qdn.public.news
- ↳ qdn.public.qnxjobs
- ↳ qdn.public.qnxrtp.newuser
- ↳ qdn.public.qnxrtp.installation
- ↳ qdn.public.qnxrtp.os
- ↳ qdn.public.qnxrtp.photon
- ↳ qdn.public.qnxrtp.devtools
- ↳ qdn.public.qnxrtp.applications
- ↳ qdn.public.qnxrtp.advocacy
- ↳ qdn.public.qnx4.photon
- ↳ qdn.public.qnx4.devtools
- ↳ qdn.public.articles
- ↳ qdn.public.ddk.graphics
- ↳ qdn.public.ddk.network
- ↳ qdn.public.ddk.audio
- ↳ qdn.public.ddk.input
- ↳ qdn.public.ddk.usb
- ↳ qdn.public.ddk.printer
- ↳ qdn.public.qnxrtp.porting
- ↳ qdn.public.qnxrtp.games
- ↳ qdn.public.qnxrtp.embedded
- ↳ qdn.public.qnxrtp.mips
- ↳ qdn.public.qnxrtp.powerpc
- ↳ qdn.public.qnxrtp.strongarm
- ↳ qdn.public.qnxrtp.x86
- ↳ qdn.public.sysadmin
- ↳ qdn.public.qnxrtp.xscale
- ↳ qdn.public.qnxrtp.sh4
- ↳ qdn.public.newuser
- ↳ qdn.public.installation
- ↳ qdn.public.devtools
- ↳ qdn.public.ddk
- ↳ qdn.public.bsp
- Other QNX Newsgroups
- ↳ comp.os.qnx
- ↳ openqnx.developer