Actions
Bug #4545
closedprofile_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.
Actions