mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 09:52:54 +00:00
7 lines
257 B
Rust
7 lines
257 B
Rust
/// Immediately terminate the calling process without calling
|
|
/// atexit callbacks, C runtime destructors etc. We mainly use
|
|
/// this to protect coverage data from concurrent writes.
|
|
pub fn exit_now(code: u8) {
|
|
unsafe { nix::libc::_exit(code as _) };
|
|
}
|