MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / WebClient_TrackLock

Function WebClient_TrackLock

3rdparty/webrtc/Microstack/ILibWebClient.c:42–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40#ifdef SEMAPHORE_TRACKING
41#define SEM_TRACK(x) x
42void 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};
57void WebClient_TrackUnLock(const char* MethodName, int Occurance, void *data)
58{
59 char v[100];

Calls

no outgoing calls

Tested by

no test coverage detected