commit | 81f3777be1c02298c7b3718eebc4f2b561eec8d6 | [log] [tgz] |
---|---|---|
author | Christopher Friedt <cfriedt@meta.com> | Thu Jan 18 13:19:53 2024 -0500 |
committer | Chris Friedt <chrisfriedt@gmail.com> | Fri Jan 26 06:50:11 2024 -0500 |
tree | 48e9ce87864e2bd8b762b30e3b3d710cbb47b9a5 | |
parent | 77135fcbc6167580b5bcf55787882e4790e5fa98 [diff] |
posix: pthread: hold pool lock when calling to_posix_thread() There may be race conditions when calling to_posix_thread() from multiple threads. Ensuing that the pthread pool lock is held when to_posix_thread() is called will prevent those races. Signed-off-by: Christopher Friedt <cfriedt@meta.com>