| 346 | } |
| 347 | } |
| 348 | void Channel::Submit(Entry&& e) noexcept |
| 349 | { |
| 350 | try { |
| 351 | if (IsSynchronousModeEnabled() && !IsWorkerThread()) { |
| 352 | EnqueueEntryWait(std::move(e)); |
| 353 | } |
| 354 | else { |
| 355 | EnqueueEntry(std::move(e)); |
| 356 | } |
| 357 | } |
| 358 | catch (...) { |
| 359 | pmlog_panic_("Exception thrown in Channel::Submit (move)"); |
| 360 | } |
| 361 | } |
| 362 | void Channel::Submit(const Entry& e) noexcept |
| 363 | { |
| 364 | try { |
no outgoing calls
no test coverage detected