• <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 閱讀(682) 評論(0)  編輯 收藏 引用 所屬分類: linux kernel
            <2010年11月>
            31123456
            78910111213
            14151617181920
            21222324252627
            2829301234
            567891011

            常用鏈接

            留言簿(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一区二区三区| 中文精品久久久久国产网址| 伊人久久大香线蕉av一区| 久久青青国产| 九九热久久免费视频| 无码国产69精品久久久久网站| 久久综合成人网| 精品久久久久久无码中文字幕 | 久久天天躁狠狠躁夜夜躁2014| 久久综合狠狠色综合伊人| 狠狠色丁香久久婷婷综| 国产精品无码久久久久久| 久久棈精品久久久久久噜噜| 狠狠精品久久久无码中文字幕| 午夜精品久久久内射近拍高清 | 国产aⅴ激情无码久久| 久久毛片一区二区| 伊人久久大香线蕉综合Av| 少妇高潮惨叫久久久久久| 久久久久久久亚洲Av无码| 久久精品国产亚洲AV高清热 | 久久婷婷人人澡人人| 国产午夜福利精品久久| 久久精品无码一区二区三区日韩| 国产免费福利体检区久久| 久久午夜福利电影| 久久综合亚洲鲁鲁五月天|