mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 18:54:31 +01:00
the_menu_family_list_now_does_not_wait_for_the_scan holds the font scan at a named pipe and released it with one blocking open for writing. That open waits for any reader and lets go only the readers already waiting. When the scan reached the pipe after the release, or ran on the test's own thread because its background thread did not start, nothing opened the pipe again and the test waited until the job timed out (a gate shard on pull request 10368 ran for over two hours). The release thread now opens the pipe for reading and writing, which does not wait for a reader, and repeats that until the scan has ended. The thread is joined after the list that waits for the scan.