Routine Subroutine Coroutine 子程序 协程
https://en.wikipedia.org/wiki/Subroutine
In computer programming, a subroutine is a sequence of program instructions that perform a specific task, packaged as a unit. This unit can then be used in programs wherever that particular task should be performed.
Subprograms may be defined within programs, or separately in libraries that can be used by multiple programs. In different programming languages, a subroutine may be called a procedure, a function, a routine, a method, or a subprogram. The generic term callable unit is sometimes used.[1]
Subroutines are special cases of ... coroutines.
https://en.wikipedia.org/wiki/Coroutine
Coroutines are computer-program components that generalize subroutines for non-preemptive multitasking, by allowing multiple entry points for suspending and resuming execution at certain locations. Coroutines are well-suited for implementing familiar program components such as cooperative tasks, exceptions, event loops, iterators, infinite lists and pipes.
According to Donald Knuth, Melvin Conway coined the term coroutine in 1958 when he applied it to construction of an assembly program.[1] The first published explanation of the coroutine appeared later, in 1963.[2]
最新文章
- parseInt实例详解
- latex+bibtex+jabref(zz)
- [转载]关于CSDN, cnblog, iteye和51cto四个博客网站的比较与分析
- linux安装gcc-c++
- 【游戏周边】Unity,UDK,Unreal Engine4或者CryENGINE——我应该选择哪一个游戏引擎
- Vue中父子组件通讯——组件todolist
- 无法获得锁 /var/lib/dpkg/lock - open (11: 资源暂时不可用) ...ubuntu 18.04 安装vim遇到的错误
- Linux ethtool 命令
- FPGA 概述2
- 第一次项目上Linux服务器(二:——安装jdk)
- SpringBoot2 @validated 类型效验
- Windows7下安装cpu版的Tensorflow
- 浅谈elasticsearch 集群
- 音视频学习系列第(三)篇---wav文件的存储和解析
- 客户端、服务器端中JSON字符串与对象的转换
- linux-shell-screen后台调用-后台运行脚本和命令-仿start命令-伪窗口界面
- AVC的三种规格
- C#实现分片上传文件
- POJ-3273 Monthly Expense (最大值最小化问题)
- extends注意事项
热门文章
- node--http小爬虫&;事件模块
- Spring Boot的web开发&;静态资源配置方式
- 三读bootmem【转】
- 【leetcode】 First Missing Positive
- [Web Tools] 实用的Web开发工具
- 编译Caffe(ubuntu-15.10-desktop-amd64,无Cuda)
- 用AntRun插件测试Maven的生命周期
- [转] 32位 PL/SQL Develope r如何连接64位的Oracle 图解
- java IOUtils下载图片
- Understand the Business Domain