The libuv
contains next code in core.c:uv_run()
/* The if statement lets the compiler compile it to a conditional store.
* Avoids dirtying a cache line.
*/
if (loop->stop_flag != 0)
loop->stop_flag = 0;
What does this mean? Is it some kind of optimization? Why they did not simply assign 0?