FTTSemaphore.cpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #include <time.h>
  2. #include "FTTSemaphore.h"
  3. #include "str_conv.h"
  4. #include "memctrl.h"
  5. //-------------------------------------------------------------------------------------------------
  6. //0026D3C4 //^_^
  7. FTTSemaphore::FTTSemaphore(int a1, int a2, const char *pSemName, EFTTProtocol eProtocol) {
  8. }
  9. //-------------------------------------------------------------------------------------------------
  10. //0026D402 //^_-
  11. FTTSemaphore::~FTTSemaphore() {
  12. }
  13. //-------------------------------------------------------------------------------------------------
  14. //0026D4B4 //^_^
  15. int FTTSemaphore::GetSemaCount() {
  16. int dret = 0;
  17. return dret;
  18. }
  19. //-------------------------------------------------------------------------------------------------
  20. //0026D48A //^_^
  21. void FTTSemaphore::SignalSema(int a2) {
  22. LOGE("SignalSema%p%x",this,a2);
  23. }
  24. //-------------------------------------------------------------------------------------------------
  25. //0026D420 //^_- 逻辑完全一至,但是寄存器略有区别
  26. int FTTSemaphore::WaitSema(int a1) {
  27. LOGI("FTTSemaphore::WaitSema entry");
  28. LOGE("WaitSema%p%x",this,a1);
  29. return 0x100;
  30. }
  31. //-------------------------------------------------------------------------------------------------