1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/sync/thread_windows.c.v

8 lines
107 B
V
Raw Normal View History

module sync
fn C.GetCurrentThreadId() u32
pub fn thread_id() u64 {
return u64(C.GetCurrentThreadId())
}