Interprocess : multithreading of the mapping
Hello, I have several shared memory regions to map in my client process. May I experience troubles if use multithreading to do this operation ? (http://www.boost.org/doc/libs/1_54_0/doc/html/interprocess/sharedmemorybetwe...) I have a good reason to do that. Thanks !
On Aug 27, 2013 2:19 AM, "Oodini"
Hello,
I have several shared memory regions to map in my client process.
May I experience troubles if use multithreading to do this operation ? (
http://www.boost.org/doc/libs/1_54_0/doc/html/interprocess/sharedmemorybetwe... )
I have a good reason to do that.
Thanks !
Hi. You will need to define what kinds of multithreaded tasks you will have. Will you be reading, writing, or both? Brian
On Tue, Aug 27, 2013 at 6:53 AM, Oodini
Hi. You will need to define what kinds of multithreaded tasks you will have. Will you be reading, writing, or both?
Only read !
Sorry for having forgotten this crucial piece of info ! :)
As long as the file isn't being modified, it should be fine to both (a) map it in different processes, and (b) access the data in the mapped region from many threads in and and/or all processes. Brian
participants (2)
-
Brian Budge
-
Oodini