Gitly
Log in
Register
v
/
vlib
/
sync
Raw file
|
7 loc (5 sloc)
|
107 bytes
|
Latest commit hash ce576d01c
1
module
sync
2
3
fn
C.GetCurrentThreadId() u32
4
5
pub
fn
thread_id() u64 {
6
return
u64(C.GetCurrentThreadId())
7
}