<div dir="ltr"><div>I see the macro in the include/linux/sched.h</div><div>#define __set_current_state(state_value)<span class="" style="white-space:pre">                        </span>\</div><div><span class="" style="white-space:pre">        </span>do { current-&gt;state = (state_value); } while (0)</div><div><br></div><div>Why define it like this? What&#39;s the meaning of while?</div><div>mudongliang </div></div>