Opened 7 years ago
Last modified 7 years ago
#12045 new Bugs
Bug in condition_algorithm_8a<ConditionMembers>::wait when using timed wait
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | interprocess |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
There's a bug in condition_algorithm_8a<ConditionMembers>::wait In the beginning of the method it's using data.get_sem_block_lock().wait();
This may cause the wait to wait forever, even if you're using the timed wait version of the method.
Happens to me when a "Client" process holds the lock and then dies, this causes the wait() to wait forever. What should have happened, is the it would time out, and then i could detect the failure, and do something about it.
Change History (2)
comment:1 by , 7 years ago
Component: | None → thread |
---|---|
Owner: | set to |
comment:2 by , 7 years ago
Component: | thread → interprocess |
---|---|
Owner: | changed from | to
Note:
See TracTickets
for help on using tickets.