tree: 2f733a5788757d8045ca99bec73708b9cdf7d729 [search]
  1. tests/
  2. BUILD.bazel
  3. BUILD.gn
  4. composed_service_dir.h
  5. lazy_dir.h
  6. node.h
  7. pseudo_dir.h
  8. pseudo_file.h
  9. README.md
  10. remote_dir.h
  11. service.h
  12. vfs_cpp.api
  13. vmo_file.h
sdk/lib/vfs/cpp/README.md

SDK C++ VFS

Overview

This library provides basic pseudo-filesystem functionality, which can be useful for exposing items in a component's outgoing namespace (including services). This allows creation of pseudo-directories that can be modified at runtime, pseudo/VMO-backed files, service connectors, and remote nodes.

Thread Safety

The node types this library implements are thread safe, however they must only be used with a single-threaded asynchronous dispatcher. Multiple connections may be created to a given node, as long as the same dispatcher is used.

Connections to a node are automatically closed when a node is destroyed. This includes connections to child entries, if applicable, which were opened via a parent node.

Use of a multi-threaded asynchronous dispatcher is not supported.