Incorrect use of g_cond
Bug #1227542 reported by
Paweł Stołowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mediascanner |
Fix Released
|
High
|
Jussi Pakkanen | ||
mediascanner (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
g_cond is not used correctly, e.g. in this code
if (not is_idle()) {
...
According to the docs, it must be used in a loop to avoid spurious wakeups.
Related branches
lp:~jpakkane/mediascanner/gcond-fix
- Paweł Stołowski (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 176 lines (+38/-17)4 files modifiedsrc/grlmediascanner/mediasource.cpp (+16/-8)
src/mediascanner/filesystemwalker.cpp (+1/-1)
src/mediascanner/metadataresolver.cpp (+3/-3)
src/mediascanner/taskmanager.cpp (+18/-5)
Changed in mediascanner: | |
assignee: | nobody → Jussi Pakkanen (jpakkane) |
Changed in mediascanner: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:mediascanner at revision 385, scheduled for release in mediascanner, milestone Unknown