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

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -