Hi,
Assume there are 3 threads N1, N2, N3.
in N1
{
....
while(1)
{
}
}
when the thread N1 got the time slice, it started executing the infinite loop..
Note:there is no condition inside the while(1) to end the infinite loop
I heard that some RTOS will solve this problem... (0 Replies)
1. The problem statement, all variables and given/known data:
My problem is an infinite loop when i press any other key other then Y or y in the while loop. what i want it to do is return to the normal script outside of it if pressing N or n or keep asking the same question if its any other... (4 Replies)
Im unable to stop the below infinite loop (bash script). Can someone tell me why this isnt responding to signals eg: ctrl+c (SIGINT) or ctrl+z
c=0
test_loop() {
c=$(($c+1))
echo "count value is : $c "
sleep 1
test_loop
}
Im using: SunOS 5.10
PS: If run this as... (13 Replies)