notifying change to shared memory
From: bill pursell (bill.pursell_at_gmail.com)
Date: 11/26/05
- Next message: David W Noon: "Re: notifying change to shared memory"
- Previous message: Måns Rullgård: "Re: Multithreaded App hanging in pthread calls"
- Next in thread: David W Noon: "Re: notifying change to shared memory"
- Reply: David W Noon: "Re: notifying change to shared memory"
- Reply: QNils_O=2E_Sel=E5sdal=22?=: "Re: notifying change to shared memory"
- Reply: Bob Smith: "Re: notifying change to shared memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Nov 2005 05:35:49 -0800
I have several processes sharing a memory region the doesn't change
much. I'd like to have one process that sleeps most of the time, and
only wakes up when data in the region changes. I'm planning on
implementing this by having any process that makes a change send a
signal to the monitoring process, but I'm certain there is a nicer way
to do that. eg, have the kernel send a signal when the mmapp'ed pages
are modified, or something similar. I'm using Posix semantics for the
shared memory, not sysV. (Not sure that matters, and if there is a
clean way to do this with sys V, I'm happy to change.)
- Next message: David W Noon: "Re: notifying change to shared memory"
- Previous message: Måns Rullgård: "Re: Multithreaded App hanging in pthread calls"
- Next in thread: David W Noon: "Re: notifying change to shared memory"
- Reply: David W Noon: "Re: notifying change to shared memory"
- Reply: QNils_O=2E_Sel=E5sdal=22?=: "Re: notifying change to shared memory"
- Reply: Bob Smith: "Re: notifying change to shared memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|