mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
dd0e3e4abbd33ef72321dd69c8fd73c181ad4e0c
Under certain situations (notably JNI shutdown), it's possible to get deadlock when using thread join(). To avoid this, implement a timeout. Normally we try to simply join the thread, but if it times out, we detach the thread instead.
Description
WPILib - FRC Robotics Library
Languages
C++
53.8%
Java
32.7%
Python
6.6%
C
2.6%
Jinja
1.7%
Other
2.5%