Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I posted the same question in Microsoft forums and they gave me two replies. The first was:</p> <blockquote> <p>Hi Claudio,</p> <p>In the Developer Preview there isn't an easy way to create your own async operations. We are aware of this shortcoming and are trying to solve it for the next pubic release. In the meanwhile, you could design your API as async and we will provide guidance on how to convert sync to async.</p> <p>Thanks</p> <p>Raman Sharma, Visual C++</p> </blockquote> <p>When I asked for the hard way to do this, another guy, someone responsible for PPL said me:</p> <blockquote> <p>We’re planning to do a refresh of the sample pack we released a few weeks ago and add a few samples on creation of async operations. I expect that it will happen in a couple of weeks or so. If you keep an eye on our blog at <a href="http://blogs.msdn.com/b/nativeconcurrency" rel="nofollow">http://blogs.msdn.com/b/nativeconcurrency</a>, you’ll be the first to know.</p> <p>As to how hard it is... The general-purpose solution that we’re contemplating is about 1000 lines of C++ code making copious use of template metaprogramming. Most of it will be in the header file so you can explore it yourself. While a less general solution can be less complex, you will still need to implement a base class, do the state management, error handling etc. At this moment I can’t go into more detail, but I will say that you will love how easy it is to author async operations with PPL – so hang in there!</p> <p>Artur Laksberg PPL team</p> </blockquote> <p>Then, there is no solution at that time. Thank you all.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload