• asyn proposals


    Objective:

      

    1, threadpool + blocking queue

    fn main
        enQueue(waitTrig)
        
    fn waitTrig    
        print 'Wait Trig Done'
        enQueue(startOtf)
        enQueue(PrepareNextJob)
    fn    startOtf
        enQueue(waitGrabDone)
        enQueue(Inspect)
        
    fn    waitGrabDone
        enQueue(waitTrig)

    2, javascript promise

    3, c++ future

    http://www.cnblogs.com/haippy/p/3279565.html

    http://blog.csdn.net/liuxuejiang158blog/article/details/17354115

    http://stackoverflow.com/questions/12620186/futures-vs-promises

    http://stackoverflow.com/questions/11004273/what-is-stdpromise

    http://stackoverflow.com/questions/20974022/c-futures-promises-like-javascript

    4, javascript callback

    5,impl a asyn functions in node.js

    https://blog.scottfrees.com/building-an-asynchronous-c-addon-for-node-js-using-nan

     5.asyn await

    https://msdn.microsoft.com/en-us/library/hh191443.aspx

    http://huan-lin.blogspot.com/2016/01/async-and-await.html

    http://www.cnblogs.com/jesse2013/p/async-and-await.html

  • 相关阅读:
    通知advice
    通知advice
    springmvc+mybatis需要的jar包与详解
    sass参考手册
    Mapper
    排序
    常见设计模式
    JavaScript之事件循环,宏任务与微任务
    字符串翻转
    eeeeeeeeeeeeeeeeeeeeee
  • 原文地址:https://www.cnblogs.com/cutepig/p/5460345.html
Copyright © 2020-2023  润新知