]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-windows-nt.cpp
Added basic win32 start-thread support
[factor.git] / vm / os-windows-nt.cpp
index 535e7b8640c5ec674ffd87f4c6b09272d4a6c400..9187b88986842a2337b6b073bda7b47e7236c2d0 100755 (executable)
@@ -3,6 +3,11 @@
 namespace factor
 {
 
+void start_thread(void *(*start_routine)(void *),void *args){
+    CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)start_routine, args, 0, 0); 
+}
+
+
 s64 factorvm::current_micros()
 {
        FILETIME t;