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

最新文章

  1. http长轮询&短轮询
  2. [bzoj 1503][NOI 2004]郁闷的出纳员(平衡树)
  3. scrapy-redis使用详解
  4. php开源项目学习二次开发的计划
  5. BZOJ1211: [HNOI2004]树的计数
  6. Codekart 框架
  7. Android开发利器之stetho
  8. Visual Studio Git本地Repos和GitHub远程Repos互操作
  9. Delphi线程定时器TThreadedTimer及用法--还有TThreadList用法可以locklist
  10. Oracle课程档案。第十一天
  11. js题目小记
  12. POJ3273--Monthly Expense(Binary Search)
  13. Building LinkedIn’s Real-time Activity Data Pipeline
  14. Beta阶段——Scrum 冲刺博客第三天
  15. 转载:Remote Validation
  16. [分享]方便的 windbg 命令 - !list
  17. FastAdmin Bootstrap-table 特定某行背景变红
  18. javaweb(二十二)——基于Servlet+JSP+JavaBean开发模式的用户登录注册
  19. 矩阵快速幂模板(pascal)
  20. 好工具 VHD

热门文章

  1. 未完全弄懂的题的题51nod1532
  2. Oracle学习(四)_SQL函数
  3. day 51
  4. Linux 添加程序图标到开始菜单中
  5. VC下CString类型与int 、float等数据类型的相互转换
  6. scrapy--分布式爬虫
  7. mysql 批量kill
  8. 装机人员工具 - imsoft.cnblogs
  9. Android强制横屏+全屏的几种常用方法
  10. Gym - 101002H: Jewel Thief (背包,分组,DP决策单调性)