Город МОСКОВСКИЙ
00:12:04

C++ Programming on Linux - Boost C++ Library Inter-process Shared Memory

Аватар
Питоновый анализ больших данных
Просмотры:
29
Дата загрузки:
02.12.2023 14:01
Длительность:
00:12:04
Категория:
Технологии и интернет

Описание

This short video demonstrate how to using Boost C++ Library interprocess mechanism of shared memory to communicate between two processes.

Two processes can share a memory region.
This is the case of classical shared memory or memory mapped files.
Once the processes set up the memory region, the processes can read/write the data
like any other memory segment without calling the operating system's kernel.
This also requires some kind of manual synchronization between processes.

Example code of this video has been uploaded onto GitHub:
https://github.com/yuanhui360/CPP-Programming-on-Linux/tree/main/YH-100

Рекомендуемые видео