diff options
author | Anton Lindqvist <anton@cvs.openbsd.org> | 2022-04-03 16:52:51 +0000 |
---|---|---|
committer | Anton Lindqvist <anton@cvs.openbsd.org> | 2022-04-03 16:52:51 +0000 |
commit | c32deae883ed109e5f49ee688a2e1a4fd2795901 (patch) | |
tree | e8cc7ee18ab95fe0200de3dbb75b172df4cb644e /sys/dev/fdt | |
parent | 9826c3bba289e27f5a85aad7bc6595ae30547fea (diff) |
Initialize the mutex before making us of it from many threads. Prevents
a race in which one thread is currently initializing the mutex which is
not an atomic operation whereas another thread tries to use it too
early.
With and ok schwarze@
Diffstat (limited to 'sys/dev/fdt')
0 files changed, 0 insertions, 0 deletions