modified example in README.md

clarified arguments of critSecDone callback