Submitted by: John Birrel(L?) changes for threadsafe operations
my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge.