shijiang1130 发表于 2015-02-04 23:55

并发执行脚本

-module(concurrency).
-compile(export_all).

r(C,T)->
        Concurrency = lists:seq(1,C),
        do(Concurrency,T).

do(C,T)->
        .

count(0)->
        ok;
count(T)->
        N = T - 1,
        io:format("~p~n",),
        count(N).

凡寻芳 发表于 2015-02-07 17:34

页: [1]
查看完整版本: 并发执行脚本