Files
filament/tools
lyriccoder 14a460961c Signal handler calls non-async-safe function (std::cout) (#9227)
In the current implementation, the function std::cout is used inside a                                                                                                                                                                signal handler. This is problematic because std::cout is not
async-signal-safe. According to POSIX standards, only a small set of
functions are guaranteed to be safe when called from signal handlers,
and std::cout is not one of them. Using non-async-signal-safe functions
inside signal handlers leads to undefined behavior and can cause
crashes, deadlocks, or other unpredictable issues.

By making these changes, we avoid undefined behavior and ensure the
program can handle signals safely.
2025-09-30 00:23:09 -07:00
..
2024-10-25 00:29:13 -07:00
2023-09-20 10:16:55 -07:00
2023-09-20 10:16:55 -07:00
2024-10-17 14:15:40 -07:00
2025-03-18 10:25:10 -07:00
2023-09-20 10:16:55 -07:00
2025-08-07 14:58:18 -07:00
2023-09-12 20:28:46 +00:00
2025-09-04 08:37:18 -07:00