summaryrefslogtreecommitdiff
path: root/test/sys/test_pthread.rs
blob: a4f02772c3e18ee1022c96939e2be3e11cc0ac74 (plain)
1
2
3
4
5
6
7
use nix::sys::pthread::*;

#[test]
fn test_pthread_self() {
    let tid = pthread_self();
    assert!(tid != 0);
}