Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: specify thread safety for each data structure
The documentation of "Kernel/Data Structures" incorrectly states that 'all provided structures are uniformly unsynchronized; access to them is not threadsafe by default'. In reality, some of them are threadsafe and some are not. This might discourage users from using threadsafe data structures where applicable, or mislead users into adding unnecessary locks. This proposal addresses the issue by specifying thread safety for each provided data structure. My assessment of thread safety is based purely on source code analysis; hence an expert verification would be appreciated. (cherry picked from commit 124aae3) Original-Signed-off-by: Vukan Turkulov <vukant@gmail.com> GitOrigin-RevId: 124aae3 Cr-Build-Id: 8732568629207591185 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8732568629207591185 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: I843e03b148cb61a7ac7588495493cb6ecd941984 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5982822 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org> Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
- Loading branch information