doc: document thread safety guarantees
authorErik Schilling <erik.schilling@linaro.org>
Thu, 28 Sep 2023 14:37:29 +0000 (16:37 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 2 Oct 2023 07:15:15 +0000 (09:15 +0200)
commit626bdba0d748d9783549103d0be685b560af0814
treeb642b53550a6019cf8877d30f34edd523ea248fb
parent560f40b9b59382cd10fed7cd1bd9e91ac8760b8d
doc: document thread safety guarantees

This mostly adds the information from the linked thread to the doxygen
documentation.

Summarized:
- libgpiod object's require synchronization
- individual objects may be used concurrently by different threds

Link: https://lore.kernel.org/r/CVHO091CC80Y.3KUOSLSOBVL0T@ablu-work
Signed-off-by: Erik Schilling <erik.schilling@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
include/gpiod.h