Add note about SIGSEGV edge case on UNIX-likes

This commit is contained in:
Feoramund
2024-06-01 07:56:28 -04:00
parent 4875f745c8
commit cb00b8022b
+7
View File
@@ -659,6 +659,13 @@ runner :: proc(internal_tests: []Internal_Test) -> bool {
// -- All tests are complete, or the runner has been interrupted.
// NOTE(Feoramund): If you've arrived here after receiving signal 11 or
// SIGSEGV on the main runner thread, while using a UNIX-like platform,
// there is the possibility that you may have encountered a rare edge case
// involving the joining of threads.
//
// At the time of writing, the thread library is undergoing a rewrite that
// should solve this problem; it is not an issue with the test runner itself.
thread.pool_join(&pool)
finished_in := time.since(start_time)