* @brief Signal event to this->_write_vio.cont */
| 386 | * @brief Signal event to this->_write_vio.cont |
| 387 | */ |
| 388 | void |
| 389 | HQTransaction::_signal_write_event() |
| 390 | { |
| 391 | if (this->_write_vio.cont == nullptr || this->_write_vio.op == VIO::NONE) { |
| 392 | return; |
| 393 | } |
| 394 | int event = this->_write_vio.ntodo() ? VC_EVENT_WRITE_READY : VC_EVENT_WRITE_COMPLETE; |
| 395 | |
| 396 | SCOPED_MUTEX_LOCK(lock, this->_write_vio.mutex, this_ethread()); |
| 397 | this->_write_vio.cont->handleEvent(event, &this->_write_vio); |
| 398 | |
| 399 | Http3TransVDebug("%s (%d)", get_vc_event_name(event), event); |
| 400 | } |
| 401 | |
| 402 | /** |
| 403 | * Deletes this transaction itself. |
no test coverage detected