Crates.io | perfrecord-mach-ipc-rendezvous |
lib.rs | perfrecord-mach-ipc-rendezvous |
version | 0.2.1 |
source | src |
created_at | 2020-05-28 21:37:04.799631 |
updated_at | 2021-12-03 20:38:20.503792 |
description | A subset of the ipc-channel mach functionality to establish two-way communication and exchange the mach_task_self port. |
homepage | https://github.com/mstange/perfrecord/ |
repository | https://github.com/mstange/perfrecord/ |
max_upload_size | |
id | 247169 |
size | 457,774 |
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.