Concurrent.Thread
Concurrent.Thread is a JavaScript library providing user-level (virtual) thread. It does not modify any Web browsers and consists of 100% pure JavaScript.
Getting Information
We have two mailing lists for Concurrent.Thread:
Jsthread-announce
This list is mainly for official announcement about Concurrent.Thread.For example, repository commit message, new version release, documentation update, ...etc.Also, feel free to announce your product using Concurrent.Thread in this list.
You can subscribe here.
Jsthread-users
The mailing list for Concurrent.Thread users.You can post any message about Concurrent.Thread, such as questions, proposals, discussion, ...etc. Any comment will be welcome!
You can subscribe here.
这两天一直在弄ajax,用多了才发现了ajax 的cache问题,请求了好多次,得到了确是相同的结果,经常我想在请求的同时去做一些其它的事情,我在想javascript里有没有办法用多线程,经过在网上查找找到了结果。
法宝就是Concurrent.Thread这个家伙,其实是一个js库,你可以从网站下载源代码.如何使用呢?
很简单
Concurrent.Thread.create(f, a1, a2, ...) f为你要调用的函数,a1,a2为该函数的参数,这样创建了一个线程,你可以同时创建多个,他们会同时去执行,这个库同时提供 了很多的方法,类似其它语言里的Thread使用方法,如Concurrent.Thread.stop();等。具体去网站去了解。
解压密码:
www.jb51.net
推荐使用 [
迅雷 ] 下载,使用 [
WinRAR v3.93 ] 以上版本解压本站脚本。
如果这个脚本总是不能下载的请在评论中留言,我们会尽快修复,谢谢!
下载本站资源,如果服务器暂不能下载请过一段时间重试!
如果遇到什么问题,请评论留言,我们定会解决问题,谢谢大家支持!
本站提供的一些商业脚本是供学习研究之用,如用于商业用途,请购买正版。
本站提供的
日本人写的js多线程库Concurrent.Thread-full-20080319资源来源互联网,版权归该下载资源的合法拥有者所有。
不知如何下载的,可以查看