tree: 306f17e11daf133f2afa9e9c09dddc98f665a6dc [path history] [tgz]
  1. include/
  2. BUILD.gn
  3. completion.c
  4. condition.cc
  5. METADATA.textproto
  6. mutex.c
  7. OWNERS
  8. README.md
  9. sync_cpp.api
zircon/system/ulib/sync/README.md

This library is used directly in libc. So it cannot use most high-level facilities. In particular, <zircon/assert.h> is not permitted because it uses printf. It's also important to restrict the (non-hidden) symbols used to only standard C symbols and the reserved namespace (external linkage symbols starting with _). The Zircon system call API can be used freely, but only via the _zx_ names and not the zx_ names.