tree: 1ae95ae1204e9f86c7e39ad1d28e25efaed5cc91 [path history] [tgz]
  1. include/
  2. BUILD.gn
  3. channel.cpp
  4. event.cpp
  5. eventpair.cpp
  6. fifo.cpp
  7. job.cpp
  8. log.cpp
  9. port.cpp
  10. process.cpp
  11. README.md
  12. rules.mk
  13. socket.cpp
  14. thread.cpp
  15. timer.cpp
  16. vmar.cpp
  17. vmo.cpp
system/ulib/mx/README.md

The C++ mx library

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

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 Magenta repo as well as the general Fuchsia gn build.