v/vlib/sync/thread_windows.c.v

8 lines
107 B
V

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