Peter Johnson
|
0a937bb5b9
|
wpiutil: SafeThread: Ensure thread is released in destructor (#1358)
The thread must be released with either a detach or a join, otherwise
std::terminate is called.
|
2018-10-06 18:07:56 -07:00 |
|
Peter Johnson
|
613d5eda0d
|
wpiutil: SafeThread: join on thread exit (#1357)
This can be conditionally disabled (for cases like JNI callbacks where the JVM
may block callbacks into it during shutdown).
|
2018-10-06 15:17:13 -07:00 |
|
Peter Johnson
|
18c8cce6a7
|
SafeThread: Avoid use-after-free risk in thread shutdown (#1355)
Use shared_ptr to keep data alive until the thread has terminated.
|
2018-10-05 16:32:43 -07:00 |
|