码迷,mamicode.com
首页 > 其他好文 > 详细

asyn proposals

时间:2016-05-05 01:55:32      阅读:189      评论:0      收藏:0      [点我收藏+]

标签:

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

 

asyn proposals

标签:

原文地址:http://www.cnblogs.com/cutepig/p/5460345.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!