Bug #4545
profile_sharer_thread terminates too fast
Start date:
2017-08-23
Due date:
% Done:
100%
Estimated time:
Found in version:
7db25fab07bc76fcf1131be57de7dade7aabeee6
Affected Versions:
Description
The profile_sharer_thread (profile.c:871) terminates too fast because of a race condition:
To create an new sharer thread in profile_sharer_postinit (profile.c:991) the variable prsh->prsh_queue_run must be 0. But if the thread is starting too fast, the new thread (profile:872) will terminate because the variable prsh->prsh_queue_run is still 0.
History
Updated by Jaroslav Kysela about 7 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|3df769a8cc0097d052c7d24341ed4818bec87557.