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
Coroutine
Unity中任务系统书写
第一步:我们需要定义任务类,我们的设计思路是一个任务对象就是一个协程
coroutine
,任务能够开始,停止,暂停,如果试图开始一个
weixin_33713350
·
2015-01-12 21:36
游戏
Unity中任务系统书写
第一步:我们需要定义任务类,我们的设计思路是一个任务对象就是一个协程
coroutine
,任务能够开始,停止,暂停,如果试图开始一个
jxw167
·
2015-01-12 21:36
Task
Unity
TaskManager
移动开发
State Threads 回调终结者
(感谢网友 @我的上铺叫路遥 投稿)上回写了篇《一个“蝇量级”C语言协程库》,推荐了一下Protothreads,通过
coroutine
模拟了用户级别的multi-threading模型,虽然本身足够“
张旭0512
·
2015-01-08 23:00
spawn协程学习
从Boost的1.54版本开始,
coroutine
引入了一种新型的协程,stackfu
f_x_p
·
2015-01-05 22:00
【妙用协程】 - 协程甚至能用来做动画
本文是http://unitygems.com/
coroutine
s/这篇文章的一个摘要。协程是一个可被中断然后又被继续的函数执行过
niaorendnf
·
2015-01-05 20:17
Linux POSIX
coroutine
初步
2014-12-31wcdjLinuxPOSIX
coroutine
初步目录1背景介绍...12代码实践...4摘要:开发同学在设计高性能后台服务时会优先考虑异步的执行方式,而目前异步执行方式主要有基于事件驱动的状态机模型
delphiwcdj
·
2014-12-31 17:42
Coroutine
GNU/Linux
C/C++
coroutine
协程
functionfoo(a) print("foo",a) return
coroutine
.yield(2*a) end co=
coroutine
.create(function(a,b) print
hyhnoproblem
·
2014-12-26 23:00
coroutine
lua
协程
coroutine
资料更新
http://sdiehl.github.com/
coroutine
-tutorial/
coroutine
-tutorialhttp://www.chiark.greenend.org.uk/~sgtatham
QQ276592716
·
2014-12-21 00:00
Coroutine
s in C
by SimonTathamIntroductionStructuringalargeprogramisalwaysadifficultjob.Oneoftheparticularproblemsthatoftencomesupisthis:ifyouhaveapieceofcodeproducingdata,andanotherpieceofcodeconsumingit,whichshould
QQ276592716
·
2014-12-20 21:00
学习Lua
(少) 小:~200k二进制库 ~20k C代码行少:简单 关键字 C++82,python33, C32,Go25,Lua22 APi: C79个 VM指令 30个内建
coroutine
liutianshx2012
·
2014-12-19 09:00
[Unity3D]调用函数时出现NullReferenceException的一个可能原因
今天遇到一个报错,如下图:NullReferenceExceptionUnityEngine.MonoBehaviour.Start
Coroutine
(IEnumeratorroutine)(atC:/
eijnew
·
2014-11-27 14:16
Unity
python资源汇总
StyleGuideandIdiomsDictionaryDecoratorsGenerators
Coroutine
sIteratorsYieldContextManagersUnicodeNetwor
zhangyalin1992
·
2014-11-26 14:00
python
PHP协程初体验
PHP协程初体验Bywarezhou2014.11.24上次通过C扩展为PHP添加
coroutine
尝试失败之后,由于短期内啃下Zend可能性几乎为零,只能打语言原生能力的主意了。
cszhouwei
·
2014-11-24 16:43
Web
st(state-threads)
coroutine
调度
github.com/winlinvip/state-threads以及基于st的RTMP/HLS服务器:https://github.com/winlinvip/simple-rtmp-serverst是实现了
coroutine
winlinvip
·
2014-11-11 12:00
st(state-threads)
coroutine
和stack分析
github.com/winlinvip/state-threads以及基于st的RTMP/HLS服务器:https://github.com/winlinvip/simple-rtmp-serverst是实现了
coroutine
winlinvip
·
2014-11-10 11:00
Unity3D中的
Coroutine
详解
本文太乱,推荐frankjfwang的:全面解析
Coroutine
技术Unity中的
coroutine
是通过yieldexpression;来实现的。官方脚本中到处会看到这样的代码。
Sam-Cen
·
2014-11-09 23:33
Unity3D
Unity3D中的
Coroutine
详解
Unity中的
coroutine
是通过yieldexpression;来实现的。官方脚本中到处会看到这样的代码。疑问:yield是什么?
Coroutine
是什么?
Blues1021
·
2014-11-09 23:00
coroutine
unity3d
yield
st(state-threads)
coroutine
和setjmp/longjmp的关系
github.com/winlinvip/state-threads以及基于st的RTMP/HLS服务器:https://github.com/winlinvip/simple-rtmp-serverst是实现了
coroutine
winlinvip
·
2014-11-09 11:00
boost::
coroutine
无法显示调用栈
boost::
coroutine
无法显示调用栈boost::
coroutine
无法显示调用栈(金庆的专栏)一例因boost::format()格式化参数个数错误造成的coredump,因为使用了boost
金庆的专栏
·
2014-11-07 09:00
【笨木头Lua专栏】基础补充08:协同程序之resume-yield间的数据返回
www.benmutou.com/archives/1736文章来源:笨木头与游戏开发 1.resume的参数resume函数除了第一个参数是协同程序外,还能继续传其他参数,如下代码: localco=
coroutine
.create
musicvs
·
2014-11-05 21:00
Eventlet
youmayfindtheilluminatedexamplesinthe DesignPatterns documenttobeagoodstartingpoint.Eventletisbuiltaroundtheconceptofgreenthreads(i.e.
coroutine
s
superpopb2b
·
2014-10-31 00:19
swift
协程
eventlet
Eventlet
youmayfindtheilluminatedexamplesintheDesignPatternsdocumenttobeagoodstartingpoint.Eventletisbuiltaroundtheconceptofgreenthreads(i.e.
coroutine
s
superpopb2b
·
2014-10-31 00:19
swift
eventlet
协程
Python/Perl
【unity】简要分析yield及协同程序的用法
在学习unity3d的时候很容易看到下面这个例子:1voidStart(){2 Start
Coroutine
(Destroy());3}45IEnumeratorDestroy(){6 yieldreturnWaitForSeconds
思月行云
·
2014-10-28 11:17
yield
协同
Unity3D游戏开发最佳实践20技巧(二)
22、为Invoke,Start
Coroutine
andInstantiate定义安全调用方法定义一个委托任务(delegateTask),用它来定义需要调用的方法,
book_longssl
·
2014-10-27 09:00
unity教程
Unity3D游戏
Unity培训
Unity3D培训
lua-
coroutine
两个协程,通过resume/yield函数参数(或者return语句)向对方传送数据,通过resume/yield函数返回值来从对方处获取传送数据 function
coroutine
_func
zReachzer
·
2014-10-23 16:00
Unity协程使用经验
2、在一个协程中,Start
Coroutine
()和 yield return Start
Coroutine
()是不一样的。
·
2014-10-21 12:00
unity
协程库的一些笔记
因为协程的好处,所以协程库现在有好多libtask,boost::
coroutine
,libco...... libtask很不错,以后或许会用。 boost我个人基本很少用。
xcltapestry
·
2014-10-13 17:00
coroutine
协程
协程库
libco
_save_stack
State Threads 回调终结者
(感谢网友 @我的上铺叫路遥 投稿)上回写了篇《一个“蝇量级”C语言协程库》,推荐了一下Protothreads,通过
coroutine
模拟了用户级别的multi-threading模型,虽然本身足够“
Leo
·
2014-10-12 14:00
C++
web开发
程序设计
unix/linux
C/C++语言
明明白白lua的协程(
coroutine
)
并且这个在运行的协程只有明确被要求挂起时才会被挂起你可以使用
coroutine
.create来创建协程:co=
coroutine
.create(func
booirror
·
2014-10-05 23:00
线程
lua
协程
Lua协同程序函数
coroutine
使用实例
协程是协同程序的简称,顾名思义,就是协同工作的程序。协程拥有自己独立的�C、局部变量和PC计数器,同时又与其他协同程序共享全局变量和其他大部分东西;协程与线程的主要区别在于,一个多线程程序可以同时运行几个线程(并发执行、抢占),而协同程序却需要彼此协作地运行,即一个多协程程序在任意时刻只能运行一个协程,并且正在执行的协程只会在其显式地要求挂起(suspend)时,它的执行才会暂停(无抢占、无并发)
iCode0410
·
2014-09-23 10:42
Start
Coroutine
加载配置文件卡顿现象严重
一般我们加载游戏客户端配置文件到内存中时,都是用Start
Coroutine
的方式privateIEnumeratorloadConfigFromLocal(stringpath,stringname,
秋丶
·
2014-09-20 15:51
Unity3D
Coroutine
原理
http://www.myexception.cn/mobile/1453375.htmlhttp://blog.csdn.net/tkokof1/article/details/11842673
sgnyyy
·
2014-09-19 09:00
Unity学习笔记——MonoBehaviour类Invoke,
Coroutine
blog.csdn.net/lidongdong_xynu/article/details/7445579 Unity学习笔记——MonoBehaviour类Invoke,
Coroutine
yongyuan.jiang
·
2014-09-16 20:00
coroutine
Lua中的协同程序之resume-yield间的数据返回研究
1.resume的参数resume函数除了第一个参数是协同程序外,还能继续传其他参数,如下代码:复制代码代码如下:localco=
coroutine
.create(function(name)print
笨木头
·
2014-09-13 11:02
boost signals2
coroutine
signals2观察者模式,解耦模块classButton { typedefboost::signals2::signalOnClick; public: typedefOnClick::slot_typeOnClickSlotType; //forwardslotsthroughButtoninterfacetoitsprivatesignal boost::signals2::connect
aalbertini
·
2014-09-11 19:00
【妙用协程】 - 协程甚至能用来做动画
本文是http://unitygems.com/
coroutine
s/这篇文章的一个摘要。协程是一个可被中断然后又被继续的函数执行过
taowen
·
2014-09-08 00:00
unity3d
coroutine
Unity 协程与调用函数的区别以及示例应用
Coroutine
:协同程序(简称:协程),参考网络给出以下两个定义供参考。 1> 协同程序,即在主程序运行时同时开启另一段逻辑处理,来协同当前程序的执行。换句话说,开启协同程序就是开启一个模拟线程。
Liu_guozhu
·
2014-09-02 08:18
unity
coroutine
invoke
InvokeRepeating
Unity 协程与调用函数的区别以及示例应用
Coroutine
:协同程序(简称:协程),参考网络给出以下两个定义供参考。1>协同程序,即在主程序运行时同时开启另一段逻辑处理,来协同当前程序的执行。换句话说,开启协同程序就是开启一个模拟线程。
Liu_guozhu
·
2014-09-02 08:18
Unity
Invoke
Coroutine
Unity基础知识体系
Unity3D学习笔记(四)Unity的网络基础(C#)
:以下载图片为例WWWdate=newWWW("");yieldreturndate;texture=date.texture;注意函数的返回值类型为IEnumerator,下载函数尽量使用Start
Coroutine
qq570842253
·
2014-09-01 20:12
网络
服务器
C#
unity3d
Lua
coroutine
不一样的多线程编程思路
:http://timyang.blog.51cto.com/1539170/307675上周末开始看《Lua程序设计》第二版,目前体会到其中比较有趣的有两点,一是强大的table数据结构,另外就是
coroutine
GrimRaider
·
2014-08-26 15:00
[Unity3D]Lua中使用协程
coroutine
和计时器timer
习惯了unity3d的协程用法,那么我们在Unity里面怎么使用:Start
Coroutine
Stop
Coroutine
WaitForSeconds首先lua也有
coroutine
,其实lua中的协程真的是暂停
Chiuan
·
2014-08-22 23:46
游戏开发经验和研究
Unity3D编程研究与优化
[Unity3D]Lua中使用协程
coroutine
和计时器timer
习惯了unity3d的协程用法,那么我们在Unity里面怎么使用:Start
Coroutine
Stop
Coroutine
WaitForSeconds首先lua也有
coroutine
,其实lua中的协程真的是暂停
chiuan
·
2014-08-22 23:00
lua
unity3d
The
Coroutine
关于
Coroutine
说到
coroutine
就不的不说subroutine,也就是我们常用到的一般函数。
011
·
2014-08-21 16:00
The
Coroutine
关于
Coroutine
说到
coroutine
就不的不说subroutine,也就是我们常用到的一般函数。
·
2014-08-21 16:00
coroutine
关于U3D当中的Yield
publicclassLoading:MonoBehaviour{publicUISliderprogressslider;//UsethisforinitializationvoidStart(){Start
Coroutine
huang9012
·
2014-08-18 17:00
Lua中的协同程序——
coroutine
协同程序基础(
coroutine
) 三个状态:suspended(挂起,协同刚创建完成时或者yield之后)、
weiyuefei
·
2014-08-14 17:00
Unity3D协程介绍 以及 使用
作者ChevyRay,2013年9月28日,snaker7译原文地址:http://unitypatterns.com/introduction-to-
coroutine
s/在Unity中,协程(
Coroutine
s
huang9012
·
2014-08-11 15:05
Unity3D
Unity3D协程介绍 以及 使用
作者ChevyRay ,2013年9月28日,snaker7译 原文地址:http://unitypatterns.com/introduction-to-
coroutine
s/在Unity中,协程(
Coroutine
s
huang9012
·
2014-08-11 15:00
lua
coroutine
& skynet
1.lua中的协程threadtype用于创建协程(
coroutine
s),跟OS的thread不是一个概念Python则不同,Python的线程就是OS原生线程;不过stackless和pypy的微线程跟这个概念差不多
xiarendeniao
·
2014-08-08 20:00
c
lua
Skynet
VLC接收网络串流缓冲时间的计算
原帖地址:http://blog.csdn.net/
coroutine
s/article/details/7472743 VLC版本2.0.1  
·
2014-07-22 11:00
时间
上一页
50
51
52
53
54
55
56
57
下一页
按字母分类:
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
其他