• <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 閱讀(671) 評論(0)  編輯 收藏 引用 所屬分類: linux kernel
            <2025年5月>
            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

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            久久久久亚洲精品无码蜜桃| 国产精品无码久久久久| 色8激情欧美成人久久综合电| 久久91精品综合国产首页| 一本大道久久香蕉成人网| 亚洲国产精品18久久久久久| 久久精品国产秦先生| 久久久久无码国产精品不卡| 久久久久波多野结衣高潮| 狠狠色丁香久久婷婷综| 一级a性色生活片久久无| 精品久久久无码人妻中文字幕豆芽 | 久久精品一区二区| 亚洲精品无码专区久久同性男| 亚洲精品国产字幕久久不卡| 国产精品无码久久四虎| 久久久久久久久无码精品亚洲日韩| 国产精品99久久久久久董美香| 久久久久亚洲精品日久生情| 久久国产香蕉一区精品| av午夜福利一片免费看久久| 亚洲精品白浆高清久久久久久| 国产精品免费看久久久香蕉| 久久精品无码专区免费青青| 久久精品综合网| 欧美精品福利视频一区二区三区久久久精品| 午夜不卡久久精品无码免费| 欧美精品九九99久久在观看| 久久AAAA片一区二区| 久久久久免费精品国产| 久久精品国产亚洲AV无码麻豆| 久久久国产打桩机| 久久久久久国产a免费观看黄色大片| 精品免费久久久久国产一区| 狠狠色综合网站久久久久久久| 久久精品国产69国产精品亚洲| 久久国产精品一国产精品金尊| 日产精品久久久一区二区| AV无码久久久久不卡蜜桃 | 亚洲精品tv久久久久| 色综合久久天天综线观看|