Repository navigation
Commit 1830e42
Improve WorkerThread shutdown diagnostics
- Replace catch(...) with specific std::system_error and std::exception
handlers that log error code and message via LOG_ERROR
- Move queue-depth LOG_WARNs outside the joined-only block so the
detach path also reports pending work at shutdown
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d26beaf commit 1830e42
1 file changed
Lines changed: 17 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
69 | 85 | | |
70 | 86 | | |
71 | 87 | | |
72 | 88 | | |
73 | 89 | | |
74 | 90 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 91 | | |
82 | 92 | | |
83 | 93 | | |
| |||
0 commit comments