fc-gpui-core 0.12.0

GPU-accelerated UI framework with system tray, global hotkeys, notifications, and daemon mode support (fork of Zed's GPUI)
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Spawn-site probe for the profiler timing test.
//!
//! The profiler records task timings into global state, so unrelated tests
//! running in parallel can contribute timings while a profiler test holds the
//! profiler enabled. Spawning from this dedicated file lets the test identify
//! timings from its own task by file name, independent of concurrent tests.
use crate::BackgroundExecutor;

pub fn spawn_noop(executor: &BackgroundExecutor) {
    executor.spawn(async {}).detach();
}