Tyler Veness
|
841ef5d739
|
Remove template types from lock RAII wrapper usages (#1756)
C++17 has template type autodeduction. These wrappers include
std::lock_guard and std::unique_lock.
|
2019-07-07 19:17:14 -07:00 |
|
Peter Johnson
|
ee8a33c568
|
wpiutil: SafeThread: Add thread id, support getting shared_ptr (#1722)
Rename base class function from GetThread to GetThreadSharedPtr.
|
2019-06-20 19:51:09 -07:00 |
|
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 |
|