upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_test.cpp
diff options
context:
space:
mode:
authorsanuk369 <appuhamisanuk@gmail.com>2026-11-22 09:30:14 +0530
committersanuk369 <appuhamisanuk@gmail.com>2026-11-22 09:30:14 +0530
commit808c947ccff5c3333a03c9a9eddbcf3390786bfa (patch)
tree401006f0245a845a767aee09383aa232cf77460b /runtime/test/gameinput_test.cpp
parent4a36bb19979b611f525d027f92e0fefad1626546 (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