The pjlib threading API has a critical bug on Windows and is missing important functionality for managing…
The pjlib threading API has a critical bug on Windows and is missing important functionality for managing…: a task in LegoFlow-SWE (Harbor dataset). Bug: pj thread join deadlocks on Windows When pj thread create() is used to spawn a thread on Windows, calling pj thread join() from another thread…
The task
**Bug: `pj_thread_join` deadlocks on Windows** When `pj_thread_create()` is used to spawn a thread on Windows, calling `pj_thread_join()` from another thread can hang indefinitely. The underlying issue is that the thread handle stored during creation is not suitable for waiting on the thread from a different thread;…
Part of Lego-X/LegoFlow-SWE.