ICU-20776 Checks for nullness in UMutex::lock()

Adds `U_ASSERT` check before using `m->lock()` to make allocation issues
more apparent at least in debug builds.

There is probably quite a few places like this, but let's try fixing
broken windows.
2 files changed
tree: f3daf7e0fa89ef56dfe8ce9d1e1cc8972c0aebe6
  1. .appveyor.yml
  2. .ci-builds/
  3. .cpyskip.txt
  4. .gitattributes
  5. .github/
  6. .gitignore
  7. .travis.yml
  8. README.md
  9. docs/
  10. icu4c/
  11. icu4j/
  12. tools/
  13. vendor/
README.md

International Components for Unicode

This is the repository for the International Components for Unicode. The ICU project is under the stewardship of The Unicode Consortium.

ICU Logo

Build Status

BuildStatus
TravisCIBuild Status
Win x64 ReleaseBuild status
Win x86 ReleaseBuild status

Subdirectories and Information

License

Please see ./icu4c/LICENSE (C and J are under an identical license file.)

Copyright © 2016 and later Unicode, Inc. and others. All Rights Reserved. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. Terms of Use and License