Get the current thread's top frame pointer. Used by faulthandler's signal handler to start traceback walking.
()
| 394 | /// Get the current thread's top frame pointer. |
| 395 | /// Used by faulthandler's signal handler to start traceback walking. |
| 396 | pub fn get_current_frame() -> *const Frame { |
| 397 | CURRENT_FRAME.with(|c| c.load(Ordering::Relaxed) as *const Frame) |
| 398 | } |
| 399 | |
| 400 | /// Update the current thread's exception slot atomically (no locks). |
| 401 | /// Called from push_exception/pop_exception/set_exception. |
no test coverage detected