I see the macro in the include/linux/sched.h
#define __set_current_state(state_value) \
do { current->state = (state_value); } while (0)
Why define it like this? What's the meaning of while?
mudongliang
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies