[mr3098] use MangosR2_Mutex in locked SmartPtr's.