A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Haivision/srt/commit/8f22c964bf804e2513abb715144da1ef47e13244 below:

[core] CSndUList use notify_one() instead of notify_all() · Haivision/srt@8f22c96 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed Original file line number Diff line number Diff line change

@@ -345,7 +345,7 @@ void srt::CSndUList::waitNonEmpty() const

345 345

void srt::CSndUList::signalInterrupt() const

346 346

{

347 347

ScopedLock listguard(m_ListLock);

348 -

m_ListCond.notify_all();

348 +

m_ListCond.notify_one();

349 349

}

350 350 351 351

void srt::CSndUList::realloc_()

@@ -413,7 +413,7 @@ void srt::CSndUList::insert_norealloc_(const steady_clock::time_point& ts, const

413 413

if (0 == m_iLastEntry)

414 414

{

415 415

// m_ListLock is assumed to be locked.

416 -

m_ListCond.notify_all();

416 +

m_ListCond.notify_one();

417 417

}

418 418

}

419 419

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4