Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Haivision/srt
/ waitNonEmpty
Method
waitNonEmpty
srtcore/queue.cpp:289–296 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
287
}
288
289
void srt::CSndUList::waitNonEmpty() const
290
{
291
UniqueLock listguard(m_ListLock);
292
if (m_iLastEntry >= 0)
293
return;
294
295
m_ListCond.wait(listguard);
296
}
297
298
void srt::CSndUList::signalInterrupt() const
299
{
Callers
1
worker
Method · 0.80
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected