Changes between Initial Version and Version 1 of Ticket #11256, comment 8
- Timestamp:
- May 3, 2015, 2:57:17 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11256, comment 8
initial v1 33 33 was setting a continuation on the wrapped (and already ready future, not on the parent one). 34 34 35 I've renamed the parent member to wrapped. 35 36 The code should be 36 37 … … 39 40 { 40 41 boost::unique_lock<boost::mutex> lk(wrapped.parent.future_->mutex); 41 parent.parent.future_->set_continuation_ptr(continuation, lk);42 wrapped.get().future_->set_continuation_ptr(continuation, lk); 42 43 } 43 44 44 45 }}} 45 46 46 I've renamed the parent member to wrapped.47 47 48 48 Please, could you try with this change … … 76 76 { 77 77 boost::unique_lock<boost::mutex> lk(wrapped.parent.future_->mutex); 78 wrapped. parent.future_->set_continuation_ptr(continuation, lk);78 wrapped.get().future_->set_continuation_ptr(continuation, lk); 79 79 } 80 80 #endif