Skip to content

Commit d0649ec

Browse files
committed
docs
1 parent e35309f commit d0649ec

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/shims/trace/messages.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
//! Houses the types that are directly sent across the IPC channels.
2+
//!
3+
//! The overall structure of a traced FFI call, from the child process's POV, is
4+
//! as follows:
5+
//! ```
6+
//! message_tx.send(TraceRequest::StartFFI);
7+
//! confirm_rx.recv();
8+
//! raise(SIGSTOP);
9+
//! /* do ffi call */
10+
//! raise(SIGUSR1);
11+
//! let events = event_rx.recv();
12+
//! ```
213
314
/// An IPC request sent by the child process to the parent.
415
///

0 commit comments

Comments
 (0)