http://blog.csdn.net/karl_max/article/details/39778601. 并发原语:(1) Pid = spawn(Fun) %% 创建一个新的并发进程,用于对Fun求值。(2) Pid ! Message %% !是发送操作符,消息发送是异步的,返回结果是消息...
分类:
其他好文 时间:
2015-04-03 19:17:53
阅读次数:
133
Sometimes our Go programs need to spawn other, non-Go process. For example, the syntax highlighting on this site is implemented by spawning a pygmenti...
分类:
其他好文 时间:
2015-04-01 14:51:39
阅读次数:
156
FROM:http://www.nginx.cn/1934.htmlshell脚本需要交互的地方可以使用here文档是实现,但是有些命令却需要用户手动去就交互如passwd、scp对自动部署免去用户交互很痛苦,expect能很好的解决这类问题。expect的核心是spawn expect send ...
分类:
系统相关 时间:
2015-04-01 13:06:57
阅读次数:
136
参考http://syre.blogbus.com/logs/20092011.htmlhttp://www.mike.org.cn/articles/what-is-cgi-fastcgi-php-fpm-spawn-fcgi/http://www.larro.cn/?p=35nginx php ...
分类:
Web程序 时间:
2015-04-01 10:52:06
阅读次数:
198
I just don’t want to regret it: 没什么好说的=。=,代码注释的很详细。
Size visivleSize = Director::getInstance()->getVisibleSize();/* 创建一个精灵 */
Sprite* sprite = Sprite::create("sprite.png");
sprite->setPosition(Point...
分类:
其他好文 时间:
2015-03-31 18:03:03
阅读次数:
106
Cocos2d-x之的动作混合//实现多个动作同时运行,同时移动同时旋转着,使用Spawn进行设置多个动作label->runAction( Spawn::create( MoveBy::create(1, Point(100, 100)), RotateBy::create(1, 360), NU...
分类:
其他好文 时间:
2015-03-28 08:43:13
阅读次数:
123
http://lfstar.blog.163.com/blog/static/56378987201341115037437/查看哪些进程占用内存最高? > spawn(fun() -> etop:start([{output, text}, {interval, 1}, {lines, 20}, ...
分类:
系统相关 时间:
2015-03-12 22:05:32
阅读次数:
2806
这个用spawn-fcgi 来管理FastCGI 以达到优化Apache 下PHP性能的方法比较另类,大家权当一种参考。
方法:系统平台是CentOS 5,前提是LAMP已配置好,运行正常。
1. wget -c http://www.21andy.com/centos/5/i386/spawn-fcgi-1.6.3-1.el5.i386.rpm(也可以去官方下载源码包编译安装:htt...
分类:
Web程序 时间:
2015-03-11 21:40:28
阅读次数:
145
什么是CGI CGI全称是“公共网关接口”(Common Gateway Interface),HTTP服务器与你的或其它机器上的程序进行“交谈”的一种工具,其程序须运行在网络服务器上。 CGI可以用任何一种语言编写,只要这种...
分类:
Web程序 时间:
2015-03-10 14:08:15
阅读次数:
299
Puppet路径为:/etc/puppet软件版本:gitweb-1.7.1-3.el6_4.1.noarch git-1.7.1-3.el6_4.1.x86_64 fcgi-2.4.0-12.el6.x86_64 spawn-fcgi-1.6.3-1.el6.x86_64 ...
分类:
Web程序 时间:
2015-03-04 18:39:35
阅读次数:
269