mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
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())
|
||
|
}
|