E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Coroutines
【妙用协程】 - 协程甚至能用来做动画
本文是http://unitygems.com/
coroutines
/这篇文章的一个摘要。协程是一个可被中断然后又被继续的函数执行过
niaorendnf
·
2015-01-05 20:17
协程coroutine资料更新
/sdiehl.github.com/coroutine-tutorial/coroutine-tutorialhttp://www.chiark.greenend.org.uk/~sgtatham/
coroutines
.htmlhttp
QQ276592716
·
2014-12-21 00:00
Coroutines
in C
by SimonTathamIntroductionStructuringalargeprogramisalwaysadifficultjob.Oneoftheparticularproblemsthatoftencomesupisthis:ifyouhaveapieceofcodeproducingdata,andanotherpieceofcodeconsumingit,whichshould
QQ276592716
·
2014-12-20 21:00
Eventlet
youmayfindtheilluminatedexamplesinthe DesignPatterns documenttobeagoodstartingpoint.Eventletisbuiltaroundtheconceptofgreenthreads(i.e.
coroutines
superpopb2b
·
2014-10-31 00:19
swift
协程
eventlet
Eventlet
youmayfindtheilluminatedexamplesintheDesignPatternsdocumenttobeagoodstartingpoint.Eventletisbuiltaroundtheconceptofgreenthreads(i.e.
coroutines
superpopb2b
·
2014-10-31 00:19
swift
eventlet
协程
Python/Perl
【妙用协程】 - 协程甚至能用来做动画
本文是http://unitygems.com/
coroutines
/这篇文章的一个摘要。协程是一个可被中断然后又被继续的函数执行过
taowen
·
2014-09-08 00:00
unity3d
coroutine
Unity3D协程介绍 以及 使用
作者ChevyRay,2013年9月28日,snaker7译原文地址:http://unitypatterns.com/introduction-to-
coroutines
/在Unity中,协程(
Coroutines
huang9012
·
2014-08-11 15:05
Unity3D
Unity3D协程介绍 以及 使用
作者ChevyRay ,2013年9月28日,snaker7译 原文地址:http://unitypatterns.com/introduction-to-
coroutines
/在Unity中,协程(
Coroutines
huang9012
·
2014-08-11 15:00
lua coroutine & skynet
1.lua中的协程threadtype用于创建协程(
coroutines
),跟OS的thread不是一个概念Python则不同,Python的线程就是OS原生线程;不过stackless和pypy的微线程跟这个概念差不多
xiarendeniao
·
2014-08-08 20:00
c
lua
Skynet
VLC接收网络串流缓冲时间的计算
原帖地址:http://blog.csdn.net/
coroutines
/article/details/7472743 VLC版本2.0.1  
·
2014-07-22 11:00
时间
Unity3D之协程(
Coroutines
& Yield )
写游戏代码,往往最终需要代码为连续的事件.结果会像这样:[它可以实现将一段程序延迟执行或者将其各个部分分布在一个时间段内连续执行。]private int state = 0; void Update() { if (state == 0) { //做步骤0 state = 1;
a351945755
·
2014-07-04 11:00
Unity3D等待函数介绍
Coroutines
&Yield是Unity3D编程中重要的概念,它可以实现将一段程序延迟执行或者将其各个部分分布在一个时间段内连续执行,但是在Javascript与C#中实现
Coroutines
&Yield
huang9012
·
2014-05-23 10:38
Unity3D
Unity3D等待函数介绍
Coroutines
&Yield是Unity3D编程中重要的概念,它可以实现将一段程序延迟执行或者将其各个部分分布在一个时间段内连续执行,但是在Javascript与C#中实现
Coroutines
&Yield
huang9012
·
2014-05-23 10:00
unity 3d yield 用法总结
最近,需要需要用unity 3d做点东西,但是了碰到了延迟加载问题,我总结余下:
Coroutines
& Yield是unity3d编程中重要的概念,它可以实现将一段程序延迟执行或者将其各个部分分布在一个时间段内连续执行
·
2014-05-13 21:00
unity
2014.04.18.
Coroutines
的坑
最近的程序莫名奇妙的coredump, 挂的方式和地方都不一样,后来怀疑是协程的堆栈溢出了.makecontext()传入的第一个参数ucontext_t*其中的成员uc_stack.ss_size需要指定堆栈的大小,改了下大小,就不会挂了谷歌了下,发现也有人遇到同样的坑,解决方法也是1.避免使用栈2.增大协程栈的大小原文:协程框架的堆栈大小陷阱检查下了unix下的线程堆栈大小linux-7r0r
S.l.e!ep.¢%
·
2014-04-17 16:00
Coroutines
& Yield 协同的理解
http://blog.163.com/hj_0467/blog/static/74252563201011711845180/http://wg2009perfect.blog.163.com/blog/static/127997663201211111222126/摘要下:1.coroutine,中文翻译“协程”。这个概念可能有点冷门,不过百度之,说是一种很古老的编程模型了,以前的操作系
a1294246096
·
2014-03-29 21:00
unity
协同
Unity3D开发之协程(
Coroutines
& Yield)不执行的原因
协程执行的函数的脚本必须为启用,即那个gameobject必须是不为空而且没有setactive为false才能够继续调用,所以当yieldreturnnewWaitForSeconds(1f);语句下面的不执行,很可能就是销毁了物品或者是设为false了。PS:最好在调用之前:if(m_transform==null||gameObject.activeSelf==false) return;
lihandsome
·
2013-12-10 16:00
unity3d
Lua中 sieve.lua 的源码分析
[b]-- sieve.lua -- the sieve of Eratosthenes programmed with
coroutines
-- typical usage: lua -e N=500
伈吢塌哋
·
2013-12-04 14:00
lua
用boost::bind构造boost::coroutine
用boost::bind构造boost::coroutineclass TestCoro { typedef boost::
coroutines
::coroutione Coro
金庆的专栏
·
2013-11-22 15:00
《Lua 5.0的实现》第一章 - 介绍
摘要:我们讨论Lua5.0中那些重要而且很华丽的实现方法:基于寄存器的虚拟机、把table当成数组使用时所涉及到的新的优化算法、闭包(closures)的实现、以及协程(
coroutines
)。
u012813593
·
2013-11-22 00:00
lua
实现原理
外文翻译
Contiki 调度内核不完全介绍
设计原理可参照http://www.chiark.greenend.org.uk/~sgtatham/
coroutines
.html文件代
lgl88911
·
2013-06-22 21:00
Coroutines
in C
引用:http://www.oschina.net/translate/
coroutines
-in-c我们都知道构建一个大型的程序是一件非常困难的工作。
S.l.e!ep.¢%
·
2013-05-19 16:00
Lua基础 coroutine —— Lua的多线程编程
一个multi-thread的程序,可以同时有多个thread在运行,但是一个multi-
coroutines
的程序,同一时间只能有一个coroutine在运行,而且当前正在运行的coroutine只有在被显式地要求挂起时
wzzfeitian
·
2013-04-29 14:00
多线程
lua
coroutine
网络编程
Lua基础 coroutine —— Lua的多线程编程
一个multi-thread的程序,可以同时有多个thread在运行,但是一个multi-
coroutines
的程序,同一时间只能有一个coroutine在运行,而且当前正在运行的coroutine只有在被显式地要求挂起时
iteye_3759
·
2013-04-29 14:00
coroutines
(协程)
coroutines
其实就是让程序可以很简单的在不同的任务之间切换,它和可以提高软件效率的线程完全是两个概念,它不具有提升软件效率的功能,它本身更多的是一种软件设计架构上的概念,而不关乎效率,换句话而言
wangeen
·
2013-02-05 22:00
Unity3D之协程(
Coroutines
& Yield )
写游戏代码,往往最终需要代码为连续的事件.结果会像这样:[它可以实现将一段程序延迟执行或者将其各个部分分布在一个时间段内连续执行。]privateintstate=0;voidUpdate(){if(state==0){//做步骤0state=1;return;}if(state==1){//做步骤1state=2;return;}//...}往往使用yield语句更为方便.yield语句是一个特
jjiss318
·
2012-04-10 22:08
Unity3D
python与协程(1/3):生成器与协程
本文主要是从 A Curious Course on
Coroutines
and Concurrency 作笔记而来。
webcode
·
2012-02-05 10:00
python
Symmentric Coroutine in Lua
对于symmetric coroutine,名为
Coroutines
in Lua的一篇论文,提供了如下的解决方案: coro = {} coro.main = function() end coro.current
whitesock
·
2011-10-17 22:00
coroutine
lua
关于c语言的协程和C++的RAII
CoroutinesinC:http://www.chiark.greenend.org.uk/~sgtatham/
coroutines
.htmlhttp://hi.baidu.com/nxdl/blog
wonengxing
·
2010-11-28 16:00
C++
c
语言
RAII
Coroutines
In Python
在学习Python中yield时顺带了解了一下
Coroutines
.
peachpi
·
2010-11-26 19:00
java
jdk
多线程
python
generator
Components
eventlet dbpool for postgresql &mysql
并发编程利器Eventlet Eventlet是由第二人生(Secondlife)开源的高度伸缩性的Python网络编程库.根据官方介绍大致特性如下:非阻塞I/O模型协程(
Coroutines
)使得开发者可以采用阻塞式的开发风格
·
2010-10-06 13:00
PostgreSQL
ziliao2
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#THREADS_AND_
COROUTINES
http://www.mathworks.com/
qinqijing_123
·
2010-08-22 16:00
编程
汇编
jni
matlab
使用 Duff 设施实现协程
(详见http://www.chiark.greenend.org.uk/~sgtatham/
coroutines
.html) 于是再次被C语言shock到 其一,虽然看到过“宏定义可以改变C语言的语法
yizhili
·
2010-06-07 23:00
c
算法
C#
iterator
语言
编译器
并发编程利器Eventlet
Eventlet是由第二人生(Secondlife)开源的高度伸缩性的Python网络编程库.根据官方介绍大致特性如下:非阻塞I/O模型协程(
Coroutines
)使得开发者可以采用阻塞式的开发风格,却能够实现非阻塞
gfnpad
·
2010-05-13 18:00
Python
Unity3D使用C#实现
Coroutines
& Yield
Coroutines
& Yield是Unity 3D编程中重要的概念,它可以实现将一段程序 延迟执行或者将其各个部分分布在一个时间段内连续执行,但是在Javascript与C#中实现
Coroutines
aijun980204
·
2010-04-16 14:00
JavaScript
编程
C++
c
C#
multitask and Hive
multitask multitask allows Python programs to use generators (aka
coroutines
) to perform cooperative
huangyiiiiii
·
2007-05-30 04:00
python
socket
Access
上一页
5
6
7
8
9
10
11
12
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他