]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-windows-nt.hpp
added lookup_vm and removed last usage of vm from windows code
[factor.git] / vm / os-windows-nt.hpp
index 27923a000a077b91438c93a46135f63a64aba176..e5c5adadf111f24660caee548b48aa6d1db8454f 100755 (executable)
@@ -21,12 +21,13 @@ typedef char symbol_char;
 
 FACTOR_STDCALL LONG exception_handler(PEXCEPTION_POINTERS pe);
 
-
 // SSE traps raise these exception codes, which are defined in internal NT headers
 // but not winbase.h
 #define STATUS_FLOAT_MULTIPLE_FAULTS 0xC00002B4
 #define STATUS_FLOAT_MULTIPLE_TRAPS  0xC00002B5
 
-void start_thread(void *(*start_routine)(void *),void *args);
+void *start_thread(void *(*start_routine)(void *),void *args);
+
+#define SIGNAL_VM_PTR lookup_vm(GetCurrentThreadId())
 
 }