it's failing with error 258 - wait operation timed out
if c_to_factor(quot) is not called, it still "fails" with error 0 - operation successful
perhaps we need to clean up resources like the master io completion port?
if(!AddVectoredExceptionHandler(0, (void*)exception_handler))
fatal_error("AddVectoredExceptionHandler failed", 0);
c_to_factor(quot);
- if(!RemoveVectoredExceptionHandler((void*)exception_handler))
- fatal_error("RemoveVectoredExceptionHandler failed", 0);
+ RemoveVectoredExceptionHandler((void*)exception_handler);
}
void open_console(void)