debug一个并行程序(parallel
program)向来是件很麻烦的事情(Erlang等functional programming language另当别论),对于像MPI这种非shared
memory的inter-process model来说尤其如此。与调试并行程序相关的工具非开源工具...
分类:
其他好文 时间:
2014-06-29 14:20:46
阅读次数:
367
#include #include struct pos2d{ int x; int
y;};using namespace std;int main(){
//boost::interprocess::shared_memory_object类是按照单个字节的方式读写共享内存,用...
分类:
其他好文 时间:
2014-06-07 03:57:20
阅读次数:
277
很多的开源软件在安装过程中会出现找不到动态库的问题我在ubuntu12.04安装lxc时,没有出现这问题,但在centos6.5的时候出现了这问题fix:#find / -name liblxc.so.1#echo "/usr/local/lib/" >> /etc/ld.so.conf#ldconfig...
分类:
其他好文 时间:
2014-06-05 06:23:02
阅读次数:
243
UnExpected Error, QuittingVB在win7
环境安装后,启动vb6.0弹出以上英文提示,目前解决方法:下载动态库,放置于C:\ProgramFiles\Common Files\Microsoft
Shared\VBA目录下如果还不不行的话,把MRT7ENU.DLL与MSO9...
分类:
其他好文 时间:
2014-06-03 06:41:23
阅读次数:
671
有时候我们在APK安装时由于工程制定了UID,换过签名后可能出现类似
INSTALL_FAILED_SHARED_USER_INCOMPATIBLE 或 INSTALL_FAILED_UPDATE_INCOMPATIBLE
的错误,对于后者我们可以通过Logcat看到具体的比如说 has no si...
分类:
其他好文 时间:
2014-05-31 15:33:30
阅读次数:
245
task Scheduler根据定义The task Scheduler by the
definition blurb.“Is the class where the usage context is within the task
libraries. “它的作用像是WPF/Winform时代的...
分类:
其他好文 时间:
2014-05-31 05:55:17
阅读次数:
312
#include #include #include #include using
namespace std;int main(){
//boost::interprocess::shared_memory_object类是按照单个字节的方式读写共享内存,用起来不方便 boost::i...
分类:
其他好文 时间:
2014-05-30 12:56:14
阅读次数:
225
struct shareDataEx : shareData{ int index; int
total_size;};typedef managed_shared_memory::segment_manager segment_manager_t;
//段管理器type...
分类:
其他好文 时间:
2014-05-30 11:23:53
阅读次数:
267
不能免俗,先打印个helloworld出来,c代码的函数hello.c#include int
helloworld(){ printf("hello world!"); return 0;}然后编译成动态链接库 gcc hello.c -fPIC
-shared -o libhello...
分类:
编程语言 时间:
2014-05-30 02:08:52
阅读次数:
467
一、相关ContentProvider概念解析:1、ContentProvider简单介绍在Android官方指出的Android的数据存储方式总共同拥有五种,各自是:Shared
Preferences、网络存储、文件存储、外储存储、SQLite。可是我们知道一般这些存储都仅仅是在单独的一个应用程...
分类:
移动开发 时间:
2014-05-29 14:11:54
阅读次数:
421