sriram vemaraju wrote:Thanks a lot i wanted to try but thought that it would hang up my system.
Only temporarily. Eventually the
thread would blow on a stack overflow.
How "hung up" your system would be can vary. Other threads will continue to run, but the CPU running the recursing thread would go to 100%, and overall system response will be degraded. It shouldn't crash or lock the machine, however.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.