Ticket #5502: patch.5502
| File patch.5502, 587 bytes (added by , 11 years ago) |
|---|
| Line | |
|---|---|
| 1 | Index: boost/thread/pthread/shared_mutex.hpp |
| 2 | =================================================================== |
| 3 | --- boost/thread/pthread/shared_mutex.hpp (revision 71487) |
| 4 | +++ boost/thread/pthread/shared_mutex.hpp (working copy) |
| 5 | @@ -150,7 +150,7 @@ |
| 6 | if(state.shared_count || state.exclusive) |
| 7 | { |
| 8 | state.exclusive_waiting_blocked=false; |
| 9 | - exclusive_cond.notify_one(); |
| 10 | + release_waiters(); |
| 11 | return false; |
| 12 | } |
| 13 | break; |
