FTTMutex.cpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. #include "FTTMutex.h"
  2. #include "str_conv.h"
  3. //-------------------------------------------------------------------------------------------------
  4. //自己加的无参构造
  5. FTTMutex::FTTMutex() {
  6. }
  7. //-------------------------------------------------------------------------------------------------
  8. //0026D248 //^_^
  9. FTTMutex::FTTMutex(char const* name, EFTTProtocol eProtocol) {
  10. // loc_26D278
  11. }
  12. //-------------------------------------------------------------------------------------------------
  13. //0026D27E //^_^
  14. FTTMutex::~FTTMutex() {
  15. }
  16. //-------------------------------------------------------------------------------------------------
  17. //0026D28A //^_^
  18. bool FTTMutex::Lock() {
  19. LOGE("FTTMutex::Lock%p",this);
  20. return rand();
  21. }
  22. //-------------------------------------------------------------------------------------------------
  23. //0026D294 //^_^
  24. bool FTTMutex::TryLock() {
  25. return 0;
  26. }
  27. //-------------------------------------------------------------------------------------------------
  28. //0026D2A2 //^_^
  29. void FTTMutex::Unlock() {
  30. LOGE("FTTMutex::Lock%p",this);
  31. return ;
  32. }
  33. //-------------------------------------------------------------------------------------------------