阅读背景:

在中断线程时设置中断原因

来源:互联网 

Thanks for all the help and support , I am facing a problem where by i have two threads one is a Timer thread , and another one is some File Reader thread. Now my main program is calling both the threads. The timer thread interrupts the main program on timeout , and the File Reader thread invokes the main thread if there are some IO errors. So now the problem steps in , the Main program has to know who has fired the interrupt , to print some interrupt status lets say. So how do i acheive this? Below are few things i dont want to use.Thanks for all the help and support , I am faci




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: