skip to content
==> include/mesh/mps_worker.h <==
1/* @ajax/mesh-mps-worker: `meshd worker` (--isolation mps; mesh-host
2 * mps_worker.rs): one program image in its own MPS client process.  It maps
3 * meshd's mailbox file, registers it with DEVICEMAP (its own device address),
4 * loads its one cubin, and launches mesh_main when meshd says so; a monitor
5 * thread reports when the stream finished.  Frames on stdin/stdout
6 * (@ajax/mesh-mps-wire); logs on stderr.  It exits on W_QUIT or on EOF (meshd
7 * gone, however it died: then it halts its own kernel first). */
8#ifndef MESH_MPS_WORKER_H
9#define MESH_MPS_WORKER_H
10
11/* argv: [prog, "worker"?,] "--mailbox", FILE [, "--sms", N].  Never returns. */
12_Noreturn void mesh_mps_worker_main(int argc, char **argv);
13
14#endif