简体   繁体   English

boost :: interprocess共享内存和R bigmemory

[英]boost::interprocess shared memory and R bigmemory

I have a server client system where the server is a vc++ program and the client is in R. Can I use a shared memory between these two? 我有一个服务器客户端系统,其中服务器是一个vc ++程序,客户端在R中。我可以在这两个之间使用共享内存吗? with boost::interprocess at the vc++ end and R bigmemory at the R end? 在vc ++端使用boost :: interprocess,在R端使用R bigmemory?

the server and the client are on the same pc 服务器和客户端在同一台PC上

You get a very firm Maybe! 你得到一个非常坚定的人 for that. 为了那个原因。

The bigmemory package (or group of packages, these days) does use the mutexes from Boost -- see the synchronicity package that it builds upon. bigmemory包(或包组,现在)确实使用了Boost的互斥锁 - 请参阅它构建的同步包。 Why don't you start with a simple prototype of sharing a 100 x 2 matrix and see how far you get? 为什么不从一个共享100 x 2矩阵的简单原型开始,看看你得到了多远? Michael will probably be glad to help your further once you demonstrated some initial viability. 迈克尔可能很乐意在您展示出一些初始可行性后再帮助您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM