I’m trying to implement a list of task_struct and use it as a FIFO. In addition I need a function to go through the list and search for a particular task. My problem is that the list_for_each macro gets stuck in an infinite loop. Here below there is a snippet from my code: Thanks in advance for any tips! Answer
Tag: infinite-loop
How to run infinitely script in background on Linux?
I have a PHP script with infinite loop. I need this script running forever. So, I run And it works in background in my current user’s security context. But when I close terminal window (log off), of course, CentOS Linux kills my program. I see two guesses: run from a different user in background or make a daemon. I need