tree: 38262831153e5644c40d114cf3414ab980dfb8ef [path history] [tgz]
  1. include/
  2. test/
  3. bti.cpp
  5. channel.cpp
  6. debuglog.cpp
  7. event.cpp
  8. eventpair.cpp
  9. fifo.cpp
  10. guest.cpp
  11. interrupt.cpp
  12. iommu.cpp
  13. job.cpp
  14. OWNERS
  15. pager.cpp
  16. port.cpp
  17. process.cpp
  18. profile.cpp
  20. resource.cpp
  21. socket.cpp
  22. thread.cpp
  23. timer.cpp
  24. vcpu.cpp
  25. vmar.cpp
  26. vmo.cpp

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.