I have an unmanaged DLL with a function that can work for a long time if the input parameter is a large value, sometimes this is desirable, but not always.
How can I call this function in C # so that I can interrupt it if necessary?
So far, I tried to put the call in a separate thread, but neither interruption nor interruption seemed to terminate the process, which runs on 100% of the CPU until the dll is complete.
Is it possible to shut down dll code?
multithreading c # dll unmanaged abort
hultqvist May 6 '10 at 1:29 p.m. 2010-05-06 13:29
source share