#ipc #mach #rendezvous

perfrecord-mach-ipc-rendezvous

A subset of the ipc-channel mach functionality to establish two-way communication and exchange the mach_task_self port

3 unstable releases

0.2.1 Dec 3, 2021
0.2.0 Jun 1, 2020
0.1.0 May 28, 2020

#76 in macOS and iOS APIs

Download history 6/week @ 2024-12-04 73/week @ 2024-12-11 51/week @ 2024-12-18 20/week @ 2025-01-01 14/week @ 2025-01-08 18/week @ 2025-01-15 24/week @ 2025-01-22 6/week @ 2025-01-29 17/week @ 2025-02-05 18/week @ 2025-02-12 47/week @ 2025-02-19 53/week @ 2025-02-26 52/week @ 2025-03-05 23/week @ 2025-03-12 64/week @ 2025-03-19

210 downloads per month
Used in perfrecord

MIT/Apache

460KB
15K SLoC

perfrecord-mach-ipc-rendzvous

This crate has some code that allows establishing two-way mach communication between a parent process and a child process.

This code was originally written by pcwalton for ipc-channel. I needed some extra functionality to be able to send raw ports, namely mach_task_self(), so I forked the code. I may also remove large pieces of functionality that I don't need, so that the size of the perfrecord-preload library gets reduced.

This is a separate crate, rather than just a mod inside perfrecord, so that it can also be used by perfrecord-preload.

Dependencies

~265–380KB