diff options
author | wm4 <wm4@nowhere> | 2020-02-19 22:16:26 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-19 22:16:26 +0100 |
commit | d06ebe2251b2ac75ebc6b63b1580ed15adecd3cc (patch) | |
tree | c46515809c4f1a96f0aaece1a44ee6d013857158 /libmpv/client.h | |
parent | e22b771ff841f7afa91128ed0a1d79aa3e2bc429 (diff) | |
download | mpv-d06ebe2251b2ac75ebc6b63b1580ed15adecd3cc.tar.bz2 mpv-d06ebe2251b2ac75ebc6b63b1580ed15adecd3cc.tar.xz |
client API: document requirement about PID management
Basically, UNIX sucks. (Not as much as the other POS of course.)
Diffstat (limited to 'libmpv/client.h')
-rw-r--r-- | libmpv/client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpv/client.h b/libmpv/client.h index 2d108ca8d3..2700ad70d9 100644 --- a/libmpv/client.h +++ b/libmpv/client.h @@ -144,6 +144,9 @@ extern "C" { * and set it to SIG_IGN. * - mpv will reseed the legacy C random number generator by calling srand() at * some random point once. + * - mpv may start sub processes, so overriding SIGCHLD, or waiting on all PIDs + * (such as calling wait()) by the parent process or any other library within + * the process must be avoided. libmpv itself only waits for its own PIDs. * * Encoding of filenames * --------------------- |