• <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 閱讀(689) 評(píng)論(0)  編輯 收藏 引用 所屬分類: linux kernel
            <2025年8月>
            272829303112
            3456789
            10111213141516
            17181920212223
            24252627282930
            31123456

            常用鏈接

            留言簿(10)

            隨筆分類(307)

            隨筆檔案(297)

            algorithm

            Books_Free_Online

            C++

            database

            Linux

            Linux shell

            linux socket

            misce

            • cloudward
            • 感覺這個(gè)博客還是不錯(cuò),雖然做的東西和我不大相關(guān),覺得看看還是有好處的

            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

            搜索

            •  

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

            久久福利资源国产精品999| 91精品国产9l久久久久| 久久97久久97精品免视看 | 伊人热热久久原色播放www| 久久婷婷色香五月综合激情| 亚洲国产精品无码成人片久久| 久久精品成人国产午夜| 久久亚洲AV无码精品色午夜| 四虎国产永久免费久久| 99久久国产宗和精品1上映 | 亚洲日韩欧美一区久久久久我 | 久久综合一区二区无码| 午夜精品久久久久久久| 久久久久久国产精品美女 | 一本色道久久88综合日韩精品| 久久无码人妻一区二区三区| 中文字幕久久亚洲一区| 狠狠色丁香婷婷综合久久来来去 | 久久久久一区二区三区| 久久人人爽人人爽人人片AV麻烦| 亚洲天堂久久精品| 久久精品视频网| 精品一区二区久久久久久久网站| 性做久久久久久久| 99久久99久久精品国产片果冻| 人妻无码久久精品| 久久免费香蕉视频| 久久青青国产| 亚洲国产成人精品女人久久久| 精品久久国产一区二区三区香蕉| 婷婷久久综合九色综合98| 精品久久8x国产免费观看| 亚洲AV无码久久| 精品久久8x国产免费观看| av无码久久久久久不卡网站| 久久精品一区二区国产| 国产日韩欧美久久| 午夜精品久久久久久久无码| 要久久爱在线免费观看| 久久中文字幕精品| 久久久久久久亚洲Av无码|