tree: 9e57d32d3634a1fd4fcfc89e672e2605b21cd968 [path history] [tgz]
  1. meta/
  2. BUILD.gn
  3. main.cc
  4. README.md
examples/fidl/cpp/client_thread_safety/README.md

Example for fidl::SharedClient

This example demonstrates using the FIDL client designed to support moving ownership between and sharing ownership by different threads in a multi-threaded environment.

It shows various ways the user could monitor teardown completion of the client bindings, and schedule custom cleanup to run after that.

See the threading guide for more details.