shared-mem-locks: wire up RootInit()/ChildInit()

- start up seems to work
- shutdown now crashes