Re: [Boost-bugs] [Boost C++ Libraries] #9058: with_lock_guard function

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9058: with_lock_guard function
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-29 18:38:44


#9058: with_lock_guard function
-------------------------------+----------------------
  Reporter: ruslan_baratov@… | Owner: viboes
      Type: Feature Requests | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------

Comment (by viboes):

 Replying to [comment:19 ruslan_baratov@…]:
> Replying to [comment:17 viboes]:
> > Hi,
> >
> > I have started to integrate the patch, but I have some remarks.
> >
> > The patch doesn't allows to pass class member functions. It will take
 some time to take in account this feature that makes it uniform to the
 other callable interfaces as thread constructor, packaged_task constructor
 and async (at least for C++11 compilers).
> >
> > I will come back to you as soon as I have something working.
> >
> > Sorry for the delay.
>
> Hi Vicente!
>
> Looks like 'invoke' function fits perfectly for this job.
> I've found implementation in 'thread/detail/invoke.hpp' but I don't
> know what is the current ready-status of this file. Can I use it?

 Yes, the idea is to use invoke, but I have had some regressions recently
 with invoke on C++11 on some tests associated to async. When I disable the
 C++ implementation these test work.

 I don't know yet if I will deliver all the new features associated to
 futures as executors, ... in boost 1.56 :(

 I need to add unit test for the invoke function.

 Maybe you could give it a try and report to me any issues privately.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9058#comment:20>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC