How to use interprocess communication to load the data into map
Hi,
I am using boost interprocess library for loading the data into map
manish4gupta escribió:
What is the reason for this pblm? Thanks in advance.
Depending on your platform you need to link the appropriate threagin library. In recent linux systems, "-lrt" argument when compiling, but this depends on the plaform. Regards, Ion
Regards Manish
manish4gupta escribió:
What is the reason for this pblm? Thanks in advance.
This is also explained in the documentation: http://www.boost.org/doc/libs/1_40_0/doc/html/interprocess.html#interprocess... Best, Ion
Thankyou very much. Now i am able to compile the program with -lrt option. But how can i use the shared memory map. I have gone through the doc but still not clear. Please help. Regards Manish Ion Gaztañaga wrote:
manish4gupta escribió:
What is the reason for this pblm? Thanks in advance.
This is also explained in the documentation:
http://www.boost.org/doc/libs/1_40_0/doc/html/interprocess.html#interprocess...
Best,
Ion _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-use-interprocess-communication-to-load-the-data... Sent from the Boost - Users mailing list archive at Nabble.com.
manish4gupta escribió:
Thankyou very much. Now i am able to compile the program with -lrt option. But how can i use the shared memory map. I have gone through the doc but still not clear. Please help.
You have a full example in libs/interprocess/example/doc_map.cpp (this example is included in the documentation). I think it should be enough. Ion
Thanks, But this example only tell about loading the map into memory but how to use the map with another program still not clear.Can i get any example using the map. Regards Ion Gaztañaga wrote:
manish4gupta escribió:
Thankyou very much. Now i am able to compile the program with -lrt option. But how can i use the shared memory map. I have gone through the doc but still not clear. Please help.
You have a full example in libs/interprocess/example/doc_map.cpp (this example is included in the documentation). I think it should be enough.
Ion _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-use-interprocess-communication-to-load-the-data... Sent from the Boost - Users mailing list archive at Nabble.com.
participants (2)
-
Ion Gaztañaga
-
manish4gupta