• <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 閱讀(670) 評論(0)  編輯 收藏 引用 所屬分類: linux kernel
            <2009年5月>
            262728293012
            3456789
            10111213141516
            17181920212223
            24252627282930
            31123456

            常用鏈接

            留言簿(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

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            婷婷久久综合九色综合绿巨人| 久久久噜噜噜久久| 国产亚洲色婷婷久久99精品| 国产精品久久99| 伊人久久大香线蕉综合Av| 久久国产精品波多野结衣AV| 久久久久亚洲AV片无码下载蜜桃 | 国产亚洲精品自在久久| 国产精品久久午夜夜伦鲁鲁| 国产精品成人99久久久久91gav| 无码专区久久综合久中文字幕 | 91久久精品国产免费直播| 久久这里只有精品18| 97视频久久久| 久久久国产99久久国产一| 久久久久免费视频| 久久久久亚洲?V成人无码| 色诱久久久久综合网ywww| 久久精品99无色码中文字幕| 亚洲AV乱码久久精品蜜桃| 久久AAAA片一区二区| 国产精品99久久久久久人| 久久99精品久久久大学生| 久久九九兔免费精品6| 91久久香蕉国产熟女线看| 中文无码久久精品| 久久www免费人成精品香蕉| 精品久久8x国产免费观看| 国产成年无码久久久免费| 欧洲国产伦久久久久久久| 99久久国产免费福利| 国产一区二区三区久久| 国产99久久九九精品无码| 久久男人Av资源网站无码软件| 欧美亚洲国产精品久久| 午夜精品久久久久久影视777| 国产高潮久久免费观看| 国内精品伊人久久久久网站| 久久久久国产一级毛片高清版| 精品久久久久中文字| 国产综合免费精品久久久|