首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Erlang映射函数库分裂工作正规过程并行执行

Erlang映射函数库分裂工作正规过程并行执行

资 源 简 介

Project URL moved See http://github.com/jj1bdx/nsplit for the new project page. What is nsplit and npmap? nsplit is a n-process parallel/concurrent mapping function library based on Erlang/OTP rpc:async_call/4 function. The module has an external function: * npmap(N, F, L): spawn N processes to lists:map(F, L) The npmap/3 function is also available as an independent module npmap.erl from nsplit-0.4. deprecated functions The module has two deprecated external functions: * list_nsplit(N, L): splits a list L into N-member two-level lists * example: list_nsplit(3, [a,b,c,d,e,f,g]) -> [[a,b,c],[d,e],[f,g]] * pmap(F, L): spawn parallel processes to lists:map(F, L) notes The svn tree is manually edited and imported from the local repository The tar.gz file is only included in the RB and REL branches/tags, not in the trunk <

文 件 列 表

npmap.erl
nsplit.erl

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.156530s