tree: 6e278cd002442f1be43102fc147a7360ddf5c4a2 [path history] [tgz]
  1. include/
  2. test/
  3. bti.cc
  4. BUILD.gn
  5. channel.cc
  6. debuglog.cc
  7. event.cc
  8. eventpair.cc
  9. fifo.cc
  10. guest.cc
  11. interrupt.cc
  12. iommu.cc
  13. job.cc
  14. msi.cc
  15. OWNERS
  16. pager.cc
  17. port.cc
  18. process.cc
  19. profile.cc
  20. README.md
  21. resource.cc
  22. socket.cc
  23. stream.cc
  24. thread.cc
  25. timer.cc
  26. vcpu.cc
  27. vmar.cc
  28. vmo.cc
zircon/system/ulib/zx/README.md

The C++ zx library

The intention of this library is to provide an idiomatic C++ interface to using Zircon handles and syscalls. This library provides type safety and move semantics on top of the C calls.

Within this library, const is used to indicate that a method does not modify the object's handle. Methods marked as const may still mutate the underlying kernel object.

This library does not do more than that. In particular, thread and process creation involve a lot more than simply creating the underlying kernel structures. For thread creation you likely want to use the libc (or libc++ etc.) calls, and for process creation the launchpad APIs.

This library is usable both within the Zircon repo as well as the general Fuchsia gn build.