- read/write lock
- high efficiency
- shared memory
- windows OS
- create an instance,set memory name and size
ProceedDataExchange data(TEXT("Global\\memoryName"), size);
- write package
data.writePackage(&variable, sizeof(variable), dataID, blockFlag);
- Read package
data.readPackage(&variable, sizeof(variable), dataID, blockFlag);
contact: 15lwang@tongji.edu.cn