| 578 | } |
| 579 | |
| 580 | void __hxcpp_hxt_stash_telemetry() |
| 581 | { |
| 582 | #ifdef HXCPP_STACK_TRACE |
| 583 | // Operates on the current thread, no mutexes needed |
| 584 | hx::StackContext *stack = hx::StackContext::getCurrent(); |
| 585 | if (stack->mTelemetry) |
| 586 | stack->mTelemetry->Stash(); |
| 587 | #endif |
| 588 | } |
| 589 | |
| 590 | // Operates on the socket writer thread |
| 591 | TelemetryFrame* __hxcpp_hxt_dump_telemetry(int thread_num) |