• <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

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            久久久久久久99精品免费观看| 久久精品免费全国观看国产| 亚洲国产精品成人久久蜜臀 | 免费久久人人爽人人爽av| 精品久久久久中文字幕一区| 狠狠干狠狠久久| 精品一区二区久久| 久久精品一区二区三区不卡| 国内精品久久久人妻中文字幕| 久久综合88熟人妻| 精品久久人妻av中文字幕| 国产精品久久久久aaaa| 91精品国产高清91久久久久久| 99久久免费国产特黄| 高清免费久久午夜精品| 伊人久久大香线蕉影院95| 国产精品免费久久| 无码任你躁久久久久久| 久久久久亚洲精品日久生情 | 色综合久久中文综合网| 久久综合久久综合久久综合| 久久精品国产精品亚洲| 天天综合久久一二三区| 亚洲午夜久久久久久久久电影网| 97久久天天综合色天天综合色hd| 99久久夜色精品国产网站| 日韩欧美亚洲国产精品字幕久久久| 蜜桃麻豆WWW久久囤产精品| 2021精品国产综合久久| 久久久久这里只有精品 | 日韩AV无码久久一区二区| 久久中文娱乐网| 国产成人久久精品一区二区三区| AV色综合久久天堂AV色综合在| 成人午夜精品久久久久久久小说| 日韩中文久久| 久久亚洲欧美日本精品| 中文字幕久久久久人妻| 精品久久久久国产免费| 精品少妇人妻av无码久久| 热久久最新网站获取|