libtcmalloc-sys 0.1.14

Sys crate wrapping the tcmalloc allocator
Documentation
1
2
3
4
5
6
7
8
9
unsafe extern "C" {
    /// Return true if `ProcessBackgroundActions` should be called on this platform.
    pub fn NeedsProcessBackgroundActions() -> bool;

    /// Runs housekeeping actions for the allocator off of the main allocation path.
    ///
    /// Should be run in the background thread. May return or may not return.
    pub fn ProcessBackgroundActions();
}