Update RhoThreadImpl.h
Update RhoThreadImpl.h

Adding critical section to avoid race condition for Waitthread delete in wait() and terminate in stopwait() function.

watusi/rhodes,rhomobile/rhodes,rhomobile/rhodes,tauplatform/tau,tauplatform/tau,watusi/rhodes,tauplatform/tau,watusi/rhodes,pslgoh/rhodes,watusi/rhodes,rhomobile/rhodes,rhomobile/rhodes,tauplatform/tau,tauplatform/tau,pslgoh/rhodes,watusi/rhodes,rhomobile/rhodes,pslgoh/rhodes,tauplatform/tau,pslgoh/rhodes,pslgoh/rhodes,pslgoh/rhodes,tauplatform/tau,tauplatform/tau,watusi/rhodes,watusi/rhodes,rhomobile/rhodes,pslgoh/rhodes,pslgoh/rhodes,rhomobile/rhodes,rhomobile/rhodes,watusi/rhodes,rhomobile/rhodes,rhomobile/rhodes,tauplatform/tau,tauplatform/tau,pslgoh/rhodes,watusi/rhodes,pslgoh/rhodes,watusi/rhodes