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