XPCLock* GetLock() const {return ClassIsThreadSafe() ? GetRuntime()->GetMapLock() : nsnull;}
static PRLock* GetLock() {return gLock;}
    XPCLock* GetLock() const        {return ClassIsThreadSafe() ? GetRuntime()->GetMapLock() : nsnull;}