diff options
| author | sanuk369 <appuhamisanuk@gmail.com> | 2026-11-22 09:30:14 +0530 |
|---|---|---|
| committer | sanuk369 <appuhamisanuk@gmail.com> | 2026-11-22 09:30:14 +0530 |
| commit | 808c947ccff5c3333a03c9a9eddbcf3390786bfa (patch) | |
| tree | 401006f0245a845a767aee09383aa232cf77460b /runtime/test/gameinput_test.cpp | |
| parent | 4a36bb19979b611f525d027f92e0fefad1626546 (diff) | |
glb_writer: read the umask under a lock
_output_mode reads the umask by setting it to 0 and back, and the umask is
process-wide. Two threads publishing new GLBs could interleave so that the
process stayed at umask 0 and one file got mode 0666. A module lock makes the
set-and-restore atomic for every writer here.
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions