#mach #rendezvous #head

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
Download history 33/week @ 2023-05-16 28/week @ 2023-05-23 32/week @ 2023-05-30 25/week @ 2023-06-06 28/week @ 2023-06-13 40/week @ 2023-06-20 18/week @ 2023-06-27 49/week @ 2023-07-04 34/week @ 2023-07-11 38/week @ 2023-07-18 34/week @ 2023-07-25 12/week @ 2023-08-01 129/week @ 2023-08-08 101/week @ 2023-08-15 45/week @ 2023-08-22 36/week @ 2023-08-29

314 downloads per month
Used in 2 crates

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

~260–355KB