• <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>
            posts - 297,  comments - 15,  trackbacks - 0

            A kernel thread, sometimes called a LWP (Lightweight Process) is created and scheduled by the kernel. Kernel threads are often more expensive to create than user threads and the system calls to directly create kernel threads are very platform specific.

            A user thread is normally created by a threading library and scheduling is managed by the threading library itself (Which runs in user mode). All user threads belong to process that created them. The advantage of user threads is that they are portable.

            The major difference can be seen when using multiprocessor systems, user threads completely managed by the threading library can't be ran in parallel on the different CPUs, although this means they will run fine on uniprocessor systems. Since kernel threads use the kernel scheduler, different kernel threads can run on different CPUs.

            Many systems implement threading differently,

            A many-to-one threading model maps many user processes directly to one kernel thread, the kernel thread can be thought of as the main process.

            A one-to-one threading model maps each user thread directly to one kernel thread, this model allows parallel processing on the multiprocessor systems. Each kernel thread can be thought of as a VP (Virtual Process) which is managed by the scheduler.


            from:
            http://blog.csdn.net/jicheng687/archive/2009/09/08/4527676.aspx


            posted on 2010-02-27 10:00 chatler 閱讀(689) 評(píng)論(0)  編輯 收藏 引用 所屬分類: linux kernel
            <2025年8月>
            272829303112
            3456789
            10111213141516
            17181920212223
            24252627282930
            31123456

            常用鏈接

            留言簿(10)

            隨筆分類(307)

            隨筆檔案(297)

            algorithm

            Books_Free_Online

            C++

            database

            Linux

            Linux shell

            linux socket

            misce

            • cloudward
            • 感覺這個(gè)博客還是不錯(cuò),雖然做的東西和我不大相關(guān),覺得看看還是有好處的

            network

            OSS

            • Google Android
            • Android is a software stack for mobile devices that includes an operating system, middleware and key applications. This early look at the Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.
            • os161 file list

            overall

            搜索

            •  

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

            久久中文娱乐网| 99久久国产热无码精品免费 | 无码国产69精品久久久久网站| 精品久久久久成人码免费动漫 | 色欲久久久天天天综合网精品| 精品国产乱码久久久久久1区2区| 国产精品久久久天天影视| 亚洲国产成人久久综合野外| 精品熟女少妇a∨免费久久| 国产亚州精品女人久久久久久| 精品久久久久久中文字幕大豆网| 久久99精品免费一区二区| 久久99精品国产99久久6男男| 久久发布国产伦子伦精品| 18岁日韩内射颜射午夜久久成人| 国产精品久久久天天影视香蕉 | 日韩亚洲欧美久久久www综合网| 久久人人爽人人爽人人片AV不| 亚洲色欲久久久久综合网| 久久综合伊人77777麻豆| 伊人久久综合精品无码AV专区 | 久久精品无码专区免费青青| 亚洲乱码中文字幕久久孕妇黑人| 久久久久亚洲AV无码专区首JN| 东方aⅴ免费观看久久av| 麻豆精品久久久一区二区| 国产亚洲美女精品久久久| 中文字幕无码久久人妻| 久久国产亚洲高清观看| 国产99久久久久久免费看 | 久久亚洲色一区二区三区| 一本一本久久a久久精品综合麻豆| 无码人妻久久一区二区三区蜜桃| 久久久久久国产精品免费无码| 国产成人精品久久| 精品熟女少妇a∨免费久久| 久久人与动人物a级毛片| 亚洲国产天堂久久综合| 久久精品国产亚洲一区二区三区| 国内精品九九久久久精品| 久久久久亚洲精品日久生情|