8 lines
97 B
V
8 lines
97 B
V
|
module sync
|
||
|
|
||
|
fn C.pthread_self() usize
|
||
|
|
||
|
pub fn thread_id() u64 {
|
||
|
return u64(C.pthread_self())
|
||
|
}
|