我有一个在Ubuntu12.4上运行的程序(内核:Linux3.2.0-39-泛型-pae #62-Ubuntu i686 i686 i386 GNU/ Linux;编译器: gcc (Ubuntu/Linaro\n"); /* back to work */}
onbell(int s) printf("Alarm received from当我在一个用内核报告自身的系统上运行相同的代码时:Linu
ARN_OF_SNS_TOPIC="arn:aws:sns:us-east-1::cloudwatch"DISKSPACE_AVAILABLE=20 --alarm-name "${HN}-diskspaceavailable"\
--alarm-description "Alarm when disk spaceless that 20GB&qu
我的代码可能会有无限的循环。我希望能够在代码中停止这一点,有什么可以做到的吗?一些类似的东西: timer = on #while run is running exit run(x) print(timer.time)我担心这可能需要线程化,这是我在C和Java中尝试过的,用于学校,但从来不需要pyt