| 17 | } |
| 18 | |
| 19 | static inline size_t MyThreadId() noexcept { |
| 20 | const size_t ret = TThread::CurrentThreadId(); |
| 21 | |
| 22 | if (ret) { |
| 23 | return ret; |
| 24 | } |
| 25 | |
| 26 | // clash almost impossible, ONLY if we have threads with ids 0 and 1! |
| 27 | return 1; |
| 28 | } |
| 29 | } // namespace |
| 30 | |
| 31 | void NPrivate::FillWithTrash(void* ptr, size_t len) { |
no outgoing calls
no test coverage detected