onnxruntime/include/onnxruntime/core
Dmitri Smirnov 4a63cd0290
Improve thread pool creation failure handling. (#13313)
### Description
Detect and report thread creation failure on Windows.
Do not throw out of constructor after the thread is created,
the thread handle is lost and cannot be joined, resulting in a deadlock.

Make setting a thread priority on Linux consistent with windows.
Set thread priority in the thread itself. Log failure properly,
but do not exit the thread.

### Motivation and Context
Address issues https://github.com/microsoft/onnxruntime/issues/13291
And
https://github.com/microsoft/onnxruntime/issues/13285#issuecomment-1278063223
2022-10-15 17:57:19 -07:00
..
common Fix clang-tidy(cppcoreguidelines-pro-bounds-array-to-pointer-decay) (#13241) 2022-10-11 13:16:48 +08:00
eager support register external ep lib information (#8897) 2021-08-31 20:51:22 -07:00
framework Fix unsound hipify in ROCm EP (#13269) 2022-10-12 08:32:42 +08:00
graph Remove miscellaneous nuphar configs (#13070) 2022-09-26 13:41:28 -07:00
optimizer Remove ORT_ENABLE_RUNTIME_OPTIMIZATION_IN_MINIMAL_BUILD. (#10778) 2022-03-08 16:18:49 -08:00
platform Improve thread pool creation failure handling. (#13313) 2022-10-15 17:57:19 -07:00
providers Remove miscellaneous nuphar configs (#13070) 2022-09-26 13:41:28 -07:00
session Adjust docs to comply with Doxygen requirements (#13302) 2022-10-12 18:07:18 -07:00