Changes between Initial Version and Version 1 of Ticket #11256, comment 8


Ignore:
Timestamp:
May 3, 2015, 2:57:17 PM (7 years ago)
Author:
viboes

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11256, comment 8

    initial v1  
    3333was setting a continuation on the wrapped (and already ready future, not on the parent one).
    3434
     35I've renamed the parent member to wrapped.
    3536The code should be
    3637
     
    3940    {
    4041      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);
    4243    }
    4344
    4445}}}
    4546
    46 I've renamed the parent member to wrapped.
    4747
    4848Please, could you try with this change
     
    7676    {
    7777      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);
    7979    }
    8080#endif