| 40 | #ifdef SEMAPHORE_TRACKING |
| 41 | #define SEM_TRACK(x) x |
| 42 | void WebClient_TrackLock(const char* MethodName, int Occurance, void *data) |
| 43 | { |
| 44 | char v[100]; |
| 45 | wchar_t wv[100]; |
| 46 | size_t l; |
| 47 | |
| 48 | snprintf(v, 100, " LOCK[%s, %d] (%x)\r\n",MethodName,Occurance,data); |
| 49 | |
| 50 | #ifdef WIN32 |
| 51 | mbstowcs_s(&l, wv, 100, v, 100); |
| 52 | OutputDebugString(wv); |
| 53 | #else |
| 54 | printf(v); |
| 55 | #endif |
| 56 | }; |
| 57 | void WebClient_TrackUnLock(const char* MethodName, int Occurance, void *data) |
| 58 | { |
| 59 | char v[100]; |
no outgoing calls
no test coverage detected