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

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            久久久久这里只有精品| 狠狠狠色丁香婷婷综合久久五月| 国内精品伊人久久久久网站| 久久久中文字幕日本| 亚洲午夜久久久久久久久电影网 | 亚洲国产成人久久笫一页| 日本精品久久久久影院日本| 久久超碰97人人做人人爱| 久久se精品一区二区影院| 性欧美丰满熟妇XXXX性久久久 | 久久99热这里只有精品国产| 国产69精品久久久久777| 久久综合久久综合亚洲| 99久久亚洲综合精品网站| 大香伊人久久精品一区二区| 国产精品无码久久四虎| 97精品久久天干天天天按摩 | 99国产欧美精品久久久蜜芽| 天堂无码久久综合东京热| 久久久久免费精品国产| 久久久亚洲欧洲日产国码aⅴ| 久久久久亚洲精品中文字幕| 久久香蕉综合色一综合色88| 久久精品国产亚洲αv忘忧草 | 偷窥少妇久久久久久久久| 精品无码久久久久久国产| 91精品国产91久久| 久久久亚洲欧洲日产国码二区| 热99RE久久精品这里都是精品免费| 精品久久久久久无码国产| 91精品久久久久久无码| 色综合色天天久久婷婷基地| 久久国产免费观看精品| 国产精品久久永久免费| 狠狠色丁香婷婷久久综合不卡| 久久天天躁狠狠躁夜夜网站| 伊人久久精品无码av一区 | A狠狠久久蜜臀婷色中文网| 国内精品久久九九国产精品| 亚洲成色999久久网站| 久久国产成人午夜AV影院|