dvd: move thread safety comment into header file

This commit is contained in:
6cb1008cabfc0d4485696f6df7431a5e27604e1b 2021-06-17 04:13:50 +02:00
parent 56a32fd80a
commit 031ccb154b
2 changed files with 3 additions and 3 deletions

View File

@ -46,9 +46,6 @@ void dvd_hook_init(const struct dvd_config *cfg, HINSTANCE self)
return;
}
/* Init is not thread safe because API hook init is not thread safe blah
blah blah you know the drill by now. */
if (dvd_hook_initted) {
return;
}

View File

@ -8,4 +8,7 @@ struct dvd_config {
bool enable;
};
/* Init is not thread safe because API hook init is not thread safe blah
blah blah you know the drill by now. */
void dvd_hook_init(const struct dvd_config *cfg, HINSTANCE self);