client API: document requirement about PID management

Basically, UNIX sucks. (Not as much as the other POS of course.)
This commit is contained in:
wm4 2020-02-19 22:16:26 +01:00
parent e22b771ff8
commit d06ebe2251
1 changed files with 3 additions and 0 deletions

View File

@ -144,6 +144,9 @@ extern "C" {
* and set it to SIG_IGN. * and set it to SIG_IGN.
* - mpv will reseed the legacy C random number generator by calling srand() at * - mpv will reseed the legacy C random number generator by calling srand() at
* some random point once. * 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 * Encoding of filenames
* --------------------- * ---------------------