logoalt Hacker News

Giefo6ahyesterday at 12:20 AM1 replyview on HN

There's nothing special about threads vs processes in Linux. mmap works the same, the challenge is to map the same file. You can share a path, pass a file descriptor via fork or unix domain socket, among other techniques.


Replies

LoganDarkyesterday at 2:39 AM

That induces disk I/O overhead (even if it somehow doesn't impact IPC performance)

show 2 replies