• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            Fork me on GitHub
            隨筆 - 215  文章 - 13  trackbacks - 0
            <2016年12月>
            27282930123
            45678910
            11121314151617
            18192021222324
            25262728293031
            1234567


            專注即時通訊及網(wǎng)游服務(wù)端編程
            ------------------------------------
            Openresty 官方模塊
            Openresty 標準模塊(Opm)
            Openresty 三方模塊
            ------------------------------------
            本博收藏大部分文章為轉(zhuǎn)載,并在文章開頭給出了原文出處,如有再轉(zhuǎn),敬請保留相關(guān)信息,這是大家對原創(chuàng)作者勞動成果的自覺尊重!!如為您帶來不便,請于本博下留言,謝謝配合。

            常用鏈接

            留言簿(1)

            隨筆分類

            隨筆檔案

            相冊

            Awesome

            Blog

            Book

            GitHub

            Link

            搜索

            •  

            積分與排名

            • 積分 - 219200
            • 排名 - 117

            最新評論

            閱讀排行榜

            https://blog.csdn.net/hzhsan/article/details/50377508

            spawn(Fun) -> pid()

            參數(shù)類型:

            Fun = function()    %% 參數(shù)為空的函數(shù)
            返回類型:進程Pid
            說明:生成一個由Fun函數(shù)啟動的、參數(shù)為空的新進程,并返回進程的Pid。


            spawn(Node, Fun) -> pid()

            參數(shù)類型:

            Node = node()      %% 節(jié)點
            Fun = function()   %% 參數(shù)為空的函數(shù)

            返回類型:進程Pid
            說明:生成一個由在Node節(jié)點上,由Fun函數(shù)啟動的、參數(shù)為空的新進程,并返回進程的Pid。


            spawn(Module, Function, Args) -> pid()

            參數(shù)類型:

            Module = module()  %% 模塊名
            Function = atom()  %% 原子函數(shù)名
            Args = [term()]    %% 參數(shù)列表

            返回類型:進程Pid
            說明:生成一個由Module:Function函數(shù)啟動的、參數(shù)為Args列表的新進程,并返回進程的Pid。

            新的進程會被放入系統(tǒng)的調(diào)度隊列之中,延后創(chuàng)建。


            error_handler:undefined_function(Module, Function, Args) is evaluated by the new process if Module:Function/Aritydoes not exist (where Arity is the length of Args). The error handler can be redefined (see process_flag/2). If error_handler is undefined, or the user has redefined the default error_handler its replacement is undefined, a failure with the reason undef will occur.

            > spawn(speed, regulator, [high_speed, thin_cut]). <0.13.1>

            spawn(Node, Module, Function, Args) -> pid()

            Types:

            Node = node()
            Module = module()
            Function = atom()
            Args = [term()]

            返回類型:進程Pid
            說明:生成一個在Node節(jié)點上,由Module:Function啟動的、參數(shù)為Args列表的新進程,并返回進程的Pid。
            如果Node不存在,會返回一個沒用的pid。其他情況和spawn/3一樣。
            hzhsan注:函數(shù)不等于函數(shù)的返回值。參數(shù)是表達式,如果這個表達式的結(jié)果應(yīng)該是個函數(shù),那么就不能是函數(shù)的返回值。
            posted on 2018-04-10 14:27 思月行云 閱讀(779) 評論(0)  編輯 收藏 引用 所屬分類: Erlang
            久久人妻少妇嫩草AV无码蜜桃 | 久久精品女人天堂AV麻| 成人亚洲欧美久久久久| 婷婷久久综合九色综合绿巨人| 久久久久久国产精品无码下载 | 四虎国产永久免费久久| 色综合合久久天天给综看| 久久人爽人人爽人人片AV| 久久精品国产99国产精品| 婷婷综合久久中文字幕蜜桃三电影| 国产2021久久精品| 亚洲精品午夜国产VA久久成人| 国产2021久久精品| 国产精品久久久久久福利漫画 | 亚洲va久久久噜噜噜久久| 伊人久久大香线焦综合四虎| 久久婷婷国产综合精品| 一本一道久久a久久精品综合| 99久久国产热无码精品免费| 怡红院日本一道日本久久 | 久久精品亚洲AV久久久无码| 久久香蕉综合色一综合色88| 久久久久人妻一区精品性色av| 国产日韩久久久精品影院首页| 久久久久人妻一区精品色| 亚洲国产精品高清久久久| 性高湖久久久久久久久| 久久天天躁夜夜躁狠狠躁2022 | 少妇被又大又粗又爽毛片久久黑人| 欧美黑人激情性久久| 久久精品国产清自在天天线| 久久精品国产男包| 久久亚洲AV无码精品色午夜| 日日狠狠久久偷偷色综合96蜜桃| 久久99精品久久久久久野外| 91久久精品国产成人久久| 国内精品久久久久久中文字幕| 青青热久久综合网伊人| 久久综合视频网站| 伊人久久大香线蕉综合Av| 久久99精品久久只有精品|