What kind of loop is for (;;)?

后端 未结 12 1052
暖寄归人
暖寄归人 2021-01-04 04:42

Found in torvalds/linux-2.6.git -> kernel/mutex.c line 171

I have tried to find it on Google and such to no avail.

What does for (;;) instruct?<

12条回答
  •  太阳男子
    2021-01-04 05:12

    It is same as writing infinite loop using " for " statement but u have to use break or some other statement that can get out of this loop.

提交回复
热议问题