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

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