tikv / pprof-rs

A Rust CPU profiler implemented with the help of backtrace-rs
Apache License 2.0
1.29k stars 99 forks source link

use globally shared pipe to validate memory #198

Closed YangKeao closed 1 year ago

YangKeao commented 1 year ago

close #197

The pipes can be shared across the threads, because the signal only hits one thread at a time. I'm not sure why I used the thread_local in the previous commit :cry: .