Improved Windows ABI support
This commit is contained in:
7
lib/thread/thread_windows.q
Normal file
7
lib/thread/thread_windows.q
Normal file
@ -0,0 +1,7 @@
|
||||
extern kernel32 {
|
||||
CreateThread(attributes Int, stackSize Int, address *Any, parameter Int) -> Int
|
||||
}
|
||||
|
||||
create(func *Any) -> Int {
|
||||
return kernel32.CreateThread(0, 4096, func, 0)
|
||||
}
|
Reference in New Issue
Block a user