The event modify mutex use and increase the reset
Merge pull request #64 from JimLee168/master

The event modify mutex use and increase the reset