Fake process ID for WP, ProcIdEnum.
interim
long running thread, still no go
finally got it working.

However, unit tests are a botch.  Cannot limit number of worker threads running tests, so singleton model doesn't work.
Tests fail because some other test has changed singeton settings (like log dir!).
Can run tests by class ok, though.