A problem occurs when a process uses a timer to implement a loop.
Source: Internet
Author: User
The process uses a timer to implement a loop. If there is a problem-general Linux technology-Linux technology and application information, see the following for details. Dear friends, I now learn how to write real-time multi-task tasks and start multiple processes. The main process uses a timer to implement loops and makefile to compile files.
I have found a very strange problem and I am not clear about it. I hope you can help me explain it:
Because the loop continues to run, after the program is executed, I use ctrl + c to terminate. However, after the program is terminated, make clean cannot be executed, and "door." cannot be deleted. o ": text files are busy, door. o is my output file. However, if I add the text "int a; scanf (" % d ", & a);" to a process and use ctrl + c to terminate the process, you can make clean, why? So confused.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service