tree: c0c266f67910adaf59aa3f3d14f7480480738d8c [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. bti.cc
  5. channel.cc
  6. debuglog.cc
  7. event.cc
  8. eventpair.cc
  9. fifo.cc
  10. guest.cc
  11. include/
  12. interrupt.cc
  13. iommu.cc
  14. job.cc
  15. msi.cc
  16. pager.cc
  17. port.cc
  18. process.cc
  19. profile.cc
  20. resource.cc
  21. socket.cc
  22. stream.cc
  23. test/
  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.