multithreading - timeout on ReadLine from StandardOutput stream of process vb.net 2012 -


i have process running. should take 1.5 minutes run.. happens @ readline stuck. processing video file.. need way kill process if goes beyond 3 min mark. have condition handled if process killed.. thought run timer , after 3 minutes kill process readline locks thread.. function running in thread on main program..

if want run timer should done on second thread. console.readline() lock single thread.

using system.threading.timer


Comments

Popular posts from this blog

gcc - Calling fftR4() in c from assembly -

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

reflection - Prism + Log4Net build error : "Cannot resolve dependency to assembly log4net" -