tree: 136507411da6dca428d32a0dfe10136bd2407897 [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. OWNERS
  15. pager.cc
  16. port.cc
  17. process.cc
  18. profile.cc
  19. README.md
  20. resource.cc
  21. socket.cc
  22. thread.cc
  23. timer.cc
  24. vcpu.cc
  25. vmar.cc
  26. 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.