blob: 7aa5abba50cb2d27042fd3d6b1af2e40907f75ef [file] [log] [blame]
use rustix::thread;
#[cfg(any(target_os = "android", target_os = "linux"))]
#[test]
fn test_gettid() {
assert_eq!(thread::gettid(), thread::gettid());
}