我有一个应用程序,其中有多个线程。我想让它们在order.so中执行,我选择executorService作为多线程。如果任何一个线程(run方法)出错,我想转到net线程,这样到最后我就可以知道有多少线程成功完成(需要计数).My示例代码: public class MySampleClass{ for(int i=0; i<=100;i++){
executor.subm
我用atmega168a-pu和中断开发了一个C应用程序。我使用以下中断:ISR(TIMER0_COMPB_vect);ISR(SPI_STC_vect);sei(); ///do some stuff and wait the interruptsreturn 0;我想在中断发生时阻止所有其他中断,并在即将退出中断功能之前