services/mounttable/btmtd: Add row id

Before this change, we implicitly relied on createChild() never being
called concurrently within the same millisecond. In reality, this can
happen and does happen once in a while in the tests.

With this change, each row has its own 4-byte ID and the parent uses
both the child's ID and its name to reference it.

(This is not backward compatible)

Change-Id: Ib0334a25caa98307cf1eeed4932454c5721310cc
5 files changed
tree: ec584eca97db9126770a65c76396160ea84bc522
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.