• <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 閱讀(680) 評論(0)  編輯 收藏 引用 所屬分類: linux kernel
            <2009年10月>
            27282930123
            45678910
            11121314151617
            18192021222324
            25262728293031
            1234567

            常用鏈接

            留言簿(10)

            隨筆分類(307)

            隨筆檔案(297)

            algorithm

            Books_Free_Online

            C++

            database

            Linux

            Linux shell

            linux socket

            misce

            • cloudward
            • 感覺這個博客還是不錯,雖然做的東西和我不大相關,覺得看看還是有好處的

            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

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            久久亚洲精品无码观看不卡| 精品一久久香蕉国产线看播放| 久久久国产精品福利免费| 久久成人国产精品免费软件| 精品久久人人妻人人做精品 | 久久久久免费看成人影片| 性高湖久久久久久久久AAAAA| 国产激情久久久久影院小草 | 亚洲午夜精品久久久久久app| 久久精品中文字幕大胸| 中文字幕日本人妻久久久免费| 久久精品国产亚洲精品2020| 久久精品无码一区二区三区日韩 | 武侠古典久久婷婷狼人伊人| 色欲av伊人久久大香线蕉影院| 亚洲国产成人久久精品影视| 色播久久人人爽人人爽人人片AV| 欧美一区二区精品久久| 一本久久a久久精品vr综合| 嫩草影院久久99| 久久亚洲AV成人无码电影| 99久久综合国产精品免费| 久久精品免费大片国产大片| av午夜福利一片免费看久久 | 久久久免费观成人影院| 精品久久久久久无码专区不卡 | 色综合久久中文字幕无码| 三级片免费观看久久| 狠狠色综合久久久久尤物| 亚洲综合久久综合激情久久 | 国产成人久久精品一区二区三区 | 国产精品久久久久久搜索| 亚洲国产欧美国产综合久久| 伊人精品久久久久7777| 亚洲国产一成久久精品国产成人综合 | 国内精品久久久久伊人av| 无码人妻久久一区二区三区蜜桃| 久久久久国产一区二区三区| 国产 亚洲 欧美 另类 久久| 99精品国产在热久久| 青青热久久综合网伊人|