notify the thread that work is to be done
| 202 | |
| 203 | // notify the thread that work is to be done |
| 204 | inline void runProcess() noexcept { |
| 205 | #if __cplusplus > 201703L |
| 206 | pWorkCond.store(true); |
| 207 | #endif |
| 208 | pWorkCond.notify_one(); |
| 209 | } |
| 210 | |
| 211 | // wait for the processed data from the thread, |
| 212 | // in worst case this may fail silent |