Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make event_loop_stop volatile for safer access
As suggested by Christian Seiler: "Only minor thing is that you might want to mark static int event_loop_stop; (usr/event_poll.c) to be volatile, to be on the safe side when modifying it from within a signal handler. Probably not really required here (the compiler is not allowed to optimize out the access anyway, since you call non-static functions within the loop), but it doesn't hurt either, just in case... "
- Loading branch information