亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? threads-faq.html

?? 李善平老師指導的研究生linux讀書報告
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
</TR>

<TR>
<TD ALIGN=RIGHT>Repositories:</TD>

<TD><A HREF="http://turnercom.com/jdk/linux3.html">[Documentation]</A>
<A HREF="http://turnercom.com/jdk/jkthread-1.1.tar.gz">[Source]</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>API:</TD>

<TD>Non-standard</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Description:</TD>

<TD>This is an experiment with the Linux 2.0 clone() call to implement
usable kernel threads in a user program. These jkthreads have an API that
has NOTHING to do with pthreads or Win32 threads or BeBox threads. </TD>
</TR>

<TR>
<TD ALIGN=RIGHT>License: </TD>

<TD>GPL (? Source is included)</TD>
</TR>
</TABLE>

<TABLE BORDER=1 CELLSPACING=2 CELLPADDING=5 WIDTH="100%" >
<TR>
<TD ALIGN=RIGHT><FONT SIZE=+2>Title:</FONT></TD>

<TD><FONT SIZE=+2>LinuxThreads</FONT></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Author:</TD>

<TD><A HREF="mailto:Xavier.Leroy@inria.fr">Xavier Leroy</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Repositories:</TD>

<TD><A HREF="http://pauillac.inria.fr/~xleroy/linuxthreads/">[Documentation]
</A><A HREF="ftp://ftp.inria.fr/INRIA/Projects/cristal/Xavier.Leroy/linuxthreads.tar.gz">[Source]</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>API:</TD>

<TD>POSIX 1003.1c</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Description:</TD>

<TD>LinuxThreads is an implementation of the Posix 1003.1c thread package
for Linux. Unlike other implementations of Posix threads, LinuxThreads
provides kernel-level threads: threads are created with the new clone()
system call and all scheduling is done in the kernel.</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>License: </TD>

<TD>GNU LGPL</TD>
</TR>
</TABLE>

<TABLE BORDER=1 CELLSPACING=2 CELLPADDING=5 WIDTH="100%" >
<TR>
<TD ALIGN=RIGHT><FONT SIZE=+2>Title:</FONT></TD>

<TD><FONT SIZE=+2>LWP</FONT></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Author:</TD>

<TD><A HREF="mailto:jsc@doc.ic.ac.uk">Stephen Crane</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Repositories:</TD>

<TD>[Documentation] <A HREF="ftp://gummo.doc.ic.ac.uk/rex/lwp.tar.gz">[Source]</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>API:</TD>

<TD>Non-standard</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Description:</TD>

<TD>A small portable lightweight process library for sun[34], mips-ultrix,
386BSD, HP-UX and <B>Linux</B>. (Man pages included)</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>License: </TD>

<TD>GPL</TD>
</TR>
</TABLE>

<TABLE BORDER=1 CELLSPACING=2 CELLPADDING=5 WIDTH="100%" >
<TR>
<TD ALIGN=RIGHT><FONT SIZE=+2>Title:</FONT></TD>

<TD><FONT SIZE=+2>PCthreads</FONT></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Author:</TD>

<TD><A HREF="mailto:mtp@big.aa.net">Michael T. Peterson</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Repositories:</TD>

<TD><A HREF="http://www.aa.net/~mtp/PCthreads.html">[Documentation] </A><A HREF="ftp://sunsite.unc.edu:/pub/Linux/devel/lang/c/pthreads-1.0.tar.gz">[Source]</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>API:</TD>

<TD>POSIX 1003.1c</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Description:</TD>

<TD>User-space pthreads library; includes non-blocking select(), read(),
and write(). Man pages included. Requires <A HREF="#DCEthreads">DCEThreads</A>.</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>License: </TD>

<TD>GPL (? Source is included)</TD>
</TR>
</TABLE>

<TABLE BORDER=1 CELLSPACING=2 CELLPADDING=5 WIDTH="100%" >
<TR>
<TD ALIGN=RIGHT><FONT SIZE=+2>Title:</FONT></TD>

<TD><FONT SIZE=+2>Provenzano Pthreads</FONT></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Author:</TD>

<TD><A HREF="mailto:proven@mit.edu">Christopher A. Provenzano</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Repositories:</TD>

<TD><A HREF="http://www.mit.edu:8001/people/proven/pthreads.html">[Documentation]
</A><A HREF="ftp://sipb.mit.edu/pub/pthreads">[Source]</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>API:</TD>

<TD>POSIX 1003.1c subset (lacks thread cancellation)</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Description:</TD>

<TD>User-space pthreads library distributed with Linux libc source but
may not be built by default.</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>License: </TD>

<TD>GPL (?)</TD>
</TR>
</TABLE>

<TABLE BORDER=1 CELLSPACING=2 CELLPADDING=5 WIDTH="100%" >
<TR>
<TD ALIGN=RIGHT><FONT SIZE=+2>Title:</FONT></TD>

<TD><FONT SIZE=+2>QuickThreads</FONT></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Author:</TD>

<TD>David Keppel</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Repositories:</TD>

<TD><A HREF="ftp://ftp.cs.washington.edu/tr/1993/05/UW-CSE-93-05-06.PS.Z">[Documentation]
</A><A HREF="ftp://ftp.cs.washington.edu/pub/qt-001.tar.Z">[Source]</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>API:</TD>

<TD>Non-standard</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Description:</TD>

<TD>A portable user-space threads package. Documentation written in PostScript.</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>License: </TD>

<TD>Freeware (source).</TD>
</TR>
</TABLE>

<TABLE BORDER=1 CELLSPACING=2 CELLPADDING=5 WIDTH="100%" >
<TR>
<TD ALIGN=RIGHT><FONT SIZE=+2>Title:</FONT></TD>

<TD><FONT SIZE=+2>Radke Threads</FONT></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Author:</TD>

<TD><A HREF="mailto:Thomas.Radke@informatik.tu-chemnitz.de">Thomas Radke</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Repositories:</TD>

<TD><A HREF="ftp://ftp.tu-chemnitz.de/pub/Local/informatik/linux">[Documentation]
</A><A HREF="ftp://ftp.tu-chemnitz.de/pub/Local/informatik/linux/nthreads.tgz">[Source]</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>API:</TD>

<TD>Non-standard</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Description:</TD>

<TD>User-level threads package included with patches to Linux kernel to
support kernel threading. (Includes man pages)</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>License: </TD>

<TD>GPL (? Source is included)</TD>
</TR>
</TABLE>

<P>
<HR></P>

<P><A NAME="ThreadAccess"></A><FONT SIZE=+3>How are Linux kernel threads
accessed?</FONT></P>

<UL>
<P>Since kernel threads are individual tasks with various shared parts,
the question naturally arises: how are the threads associated with the
parent and how are they accessed? There appear to be two ways: through
the language or through the kernel.</P>
</UL>

<P>Language Access</P>

<UL>
<P>There exist several languages that support threads intrinsicly: Modula-3,
Java, Python 1.4, Smalltalk/X, Objective-C/Gnustep and Ada. Each have language
elements to program/access individual threads. All of these languages are
available to the Linux community. However, they only support user threads;
no &quot;clone()&quot; calls are made to the new Linux kernels. There appears
to be effort, however, in revising these languages to support the newer
kernels.</P>
</UL>

<P>Kernel Access</P>

<UL>
<P>Each PID is 32bits, wrapping (modulus) at 30000 for really old software.
If CLONE_PID is <B>not</B> used, each thread will get its own PID like
any other process. However, if the PID is to be shared, the kernel uses
the upper 16bits to assign the thread ID (TID) [please note that this is
probably <B>not</B> in the 2.0.* kernel version; we'll see it in 2.1.*
for sure.]</P>

<P>Furthermore, each process has at least one thread (the parent). Each
new thread will be assigned a TID beginning with 1. A TID of 0 (e.g. 0x0000FFFF
mask) will address all threads within a process. Suppose an app has three
threads (parent and two task managers) and the threads share the parent's
PID. Suppose, the PIDs for each might be 0x00011234 (parent), 0x00021234
(child thread #1) and 0x00031234 (child thread #2). Each thread can be
accessed or signaled individually -or- the whole task could be addressed
with 0x00001234 (note that the first four digits are zero masking the TIDs).</P>

<P>It is the intent that the long format will work with existing apps.
And, older apps that signal the whole task will still work (by accessing
the whole task at once). However a shorthand has been proposed: PID.TID
(e.g. 46.2 would be the second thread of PID 46).</P>
</UL>

<P>
<HR></P>

<P><A NAME="SystemCall"></A><FONT SIZE=+3>Is there a system call I can
use to access kernel threads?</FONT></P>

<UL>
<P>Recent versions of glibc has clone() defined thus:</P>
</UL>

<UL>
<P><TT>int clone(int (*fn)(), void **stack, int flags, int argc,... /*
args */); </TT></P>

<UL>
<UL>
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=5 >
<TR>
<TD><TT>fn</TT></TD>

<TD><TT>The thread routine</TT></TD>
</TR>

<TR>
<TD><TT>stack </TT></TD>

<TD><TT>The thread's stack</TT></TD>
</TR>

<TR>
<TD><TT>flags </TT></TD>

<TD><TT>Flags as defined above</TT></TD>
</TR>

<TR>
<TD><TT>argc </TT></TD>

<TD><TT>number of remaining parameters</TT></TD>
</TR>

<TR>
<TD><TT>/* args */</TT></TD>

<TD><TT>the parameters expected by the thread.</TT></TD>
</TR>
</TABLE>
</UL>
</UL>
</UL>

<P>
<HR></P>

<P><A NAME="ThreadScheduling"></A><FONT SIZE=+3>Are there ways currently
to determine thread schedule ordering?</FONT></P>

<UL>
<P>Not 100%. There are realtime extensions in the 2.0.0 kernels that will
grant finer-tuned control over threads/tasks via `sched_setscheduler'.
[Author's note: I have no idea about this. I will update this as I get
more info.]</P>
</UL>

<P>
<HR></P>

<P><A NAME="LanguageSupport"></A><FONT SIZE=+3>Are there languages that
support threads?</FONT></P>

<UL>
<P>Currently, Ada, Modula-3, Python 1.4, SmallTalk/X, Objective-C/ Gnustep
and Java have intrinsic language elements to support threads (for example,
Ada has the 'Select' statement which is a &quot;thread guard&quot;). However,
the Linux implementations of these languages do not yet support the new
kernel threads.</P>

<P>Naturally, C and C++ can make calls to spawn threads and processes,
but there are no language elements to support them beyond these system
calls. See below for a listing of available languages:</P>
</UL>

<P>Threading Languages</P>

<TABLE BORDER=1 CELLSPACING=2 CELLPADDING=5 WIDTH="100%" >
<TR>
<TD ALIGN=RIGHT><FONT SIZE=+2>Titles:</FONT></TD>

<TD><FONT SIZE=+2>Ada/Ed</FONT></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Author:</TD>

<TD>New York University</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Repositories:</TD>

<TD>[Documentation] <A HREF="http://sunsite.unc.edu/pub/Linux/devel/lang/ada/INDEX.html">[Source]</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Newsgroup:</TD>

<TD><A HREF="news:comp.lang.ada">comp.lang.ada</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Threads Lib:</TD>

<TD>LinuxThreads</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Description:</TD>

<TD>Ada/Ed is a translator-interpreter for Ada. It is intended as a teaching
tool and does not have the capacity, performance or robustness of commercial
Ada compilers. Ada/Ed was developed as a long-range project in language
definition and software prototyping.</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>License: </TD>

<TD>GPL</TD>
</TR>
</TABLE>

<TABLE BORDER=1 CELLSPACING=2 CELLPADDING=5 WIDTH="100%" >
<TR>
<TD ALIGN=RIGHT><FONT SIZE=+2>Title:</FONT></TD>

<TD><FONT SIZE=+2>Gnat</FONT></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Author:</TD>

<TD>New York University</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Repositories:</TD>

<TD><A HREF="http://www.ocsystems.com/xada/gnat1.html">[Documentation]
[Source]</A><A HREF="http://sunsite.unc.edu/pub/Linux/devel/lang/ada/INDEX.html">[SVGA
Bindings]</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Newsgroup:</TD>

<TD><A HREF="news:comp.lang.ada">comp.lang.ada</A></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Threads Lib:</TD>

<TD>LinuxThreads</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Description:</TD>

<TD>GNAT is the Ada 95 compiler produced by a collaboration between a team
at New York University and the Free Software Foundation, 'owner' of the
GNU software project.</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>License: </TD>

<TD>GPL</TD>
</TR>
</TABLE>

<TABLE BORDER=1 CELLSPACING=2 CELLPADDING=5 WIDTH="100%" >
<TR>
<TD ALIGN=RIGHT><FONT SIZE=+2>Title:</FONT></TD>

<TD><FONT SIZE=+2>Guavac &amp; Kaffe (Java)</FONT></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Author:</TD>

<TD>???</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Repositories:</TD>

<TD><A HREF="http://http.cs.berkeley.edu/~engberg/guavac/">[Guavac Documentation]</A>
<A HREF="http://web.soi.city.ac.uk/~tim/kaffe/kaffe.html">[Kaffe Documentation]</A>

<P><A HREF="ftp://summit.stanford.edu/pub/guavac/">[Gauvac Source]</A>
<A HREF="ftp://ftp.sarc.city.ac.uk/pub/kaffe/">[Kaffe Source]</A></P>
</TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Newsgroup:</TD>

<TD></TD>
</TR>

<TR>
<TD ALIGN=RIGHT>Threads Lib:</TD>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久久久久伊人| eeuss鲁一区二区三区| 在线观看www91| 国产精品第13页| 色综合久久综合网97色综合 | 91精品国产综合久久小美女| 日韩专区中文字幕一区二区| 欧美一区永久视频免费观看| 国产一区二区三区精品视频| 国产午夜精品美女毛片视频| 不卡在线观看av| 国产精品久久三区| 欧美性xxxxx极品少妇| 琪琪一区二区三区| 久久九九久久九九| 91一区二区在线观看| 亚洲午夜影视影院在线观看| 91精品国产综合久久久蜜臀图片| 韩国女主播一区| 亚洲人成网站精品片在线观看 | 奇米精品一区二区三区四区| 精品国产区一区| 不卡视频在线看| 天天色综合天天| 国产偷国产偷亚洲高清人白洁| jlzzjlzz国产精品久久| 亚洲国产日韩一区二区| 国产无人区一区二区三区| 91精品1区2区| 久久精品国内一区二区三区| 国产精品成人在线观看| 制服丝袜亚洲精品中文字幕| 国产传媒日韩欧美成人| 亚洲精品欧美激情| 精品嫩草影院久久| 色婷婷av一区二区| 黄网站免费久久| 亚洲一区二区四区蜜桃| 久久久精品影视| 欧美色男人天堂| 波多野结衣中文一区| 日韩综合一区二区| 亚洲三级小视频| 日韩精品一区二区三区蜜臀| 一本色道久久综合亚洲91| 九九九精品视频| 亚洲午夜av在线| 国产精品乱码久久久久久| 欧美久久久久久久久中文字幕| www.性欧美| 国产在线精品一区二区不卡了 | 调教+趴+乳夹+国产+精品| 中文字幕欧美日韩一区| 欧美一区二区三区爱爱| 欧洲人成人精品| 99久久婷婷国产综合精品| 麻豆成人久久精品二区三区小说| 亚洲美女免费视频| 亚洲国产成人私人影院tom| 久久综合九色欧美综合狠狠| 欧美女孩性生活视频| 色综合 综合色| av中文字幕一区| 成人免费va视频| 国产一区二区毛片| 国产一区在线观看视频| 青草av.久久免费一区| 日韩综合小视频| 丝袜美腿亚洲一区| 视频一区在线播放| 亚洲在线观看免费| 一区二区三区不卡视频| 亚洲欧美激情一区二区| 亚洲桃色在线一区| 日韩理论在线观看| 一区二区成人在线| 一区二区三区资源| 亚洲一区二区三区视频在线播放| 亚洲欧美日韩一区二区| 亚洲免费伊人电影| 亚洲午夜久久久| 日日夜夜免费精品| 日韩成人av影视| 久久国产精品72免费观看| 另类中文字幕网| 国内精品国产三级国产a久久| 久久国产成人午夜av影院| 精品亚洲aⅴ乱码一区二区三区| 蜜臂av日日欢夜夜爽一区| 免费观看在线综合| 国产精品中文字幕日韩精品| 国产一区二区0| 综合欧美亚洲日本| 日本三级韩国三级欧美三级| 一区二区三区在线播放| 亚洲三级电影全部在线观看高清| 亚洲欧美视频在线观看| 亚洲自拍与偷拍| 日韩成人午夜电影| 国产一区二区在线影院| 国产成人精品综合在线观看| 成人福利视频在线看| 在线看一区二区| 91精品国产高清一区二区三区| 欧美va日韩va| 综合色天天鬼久久鬼色| 午夜精品福利一区二区三区蜜桃| 蜜臀av一区二区在线免费观看| 日本麻豆一区二区三区视频| 午夜久久久久久久久久一区二区| 奇米综合一区二区三区精品视频| 国产成人在线视频播放| 色综合色综合色综合| 欧美丰满嫩嫩电影| 国产蜜臀av在线一区二区三区| 亚洲精品中文在线影院| 久久99热这里只有精品| 99精品久久久久久| 9191精品国产综合久久久久久| 久久精品夜色噜噜亚洲a∨| 亚洲人成7777| 韩国午夜理伦三级不卡影院| 色菇凉天天综合网| 精品99一区二区| 亚洲影院免费观看| 国产精品系列在线播放| 欧美日韩亚洲丝袜制服| 国产欧美日韩另类视频免费观看| 亚洲国产欧美在线人成| 国产99久久久国产精品免费看| 欧美亚洲图片小说| 欧美激情中文字幕一区二区| 天天操天天色综合| 99re成人精品视频| 欧美一级高清大全免费观看| 国产精品久久久久一区二区三区| 国产精品久久综合| 亚洲成人你懂的| 国产成人在线免费观看| 欧美精品一卡两卡| 亚洲欧美日韩一区| 国产精品 欧美精品| 91精品婷婷国产综合久久性色 | 日韩欧美亚洲一区二区| 亚洲欧美乱综合| 国产传媒一区在线| 精品理论电影在线观看 | 99久精品国产| 国产女人18毛片水真多成人如厕 | 亚洲综合在线五月| 99久久精品免费看国产免费软件| 26uuu色噜噜精品一区二区| 日韩中文欧美在线| 在线观看日韩国产| 18成人在线观看| 国产原创一区二区三区| 日韩欧美一级在线播放| 亚洲成av人**亚洲成av**| 91在线观看一区二区| 亚洲国产成人在线| 丁香激情综合五月| 国产精品视频一区二区三区不卡| 极品尤物av久久免费看| 欧美变态口味重另类| 久久精品国产秦先生| 欧美日韩在线三级| 性欧美大战久久久久久久久| 欧美性xxxxxxxx| 亚洲国产精品一区二区尤物区| 一本久久a久久精品亚洲| |精品福利一区二区三区| 91在线精品秘密一区二区| 中文字幕亚洲在| 色综合久久久久综合99| 亚洲日穴在线视频| 欧美网站一区二区| 亚洲成人精品一区二区| 3751色影院一区二区三区| 日韩va亚洲va欧美va久久| 日韩视频不卡中文| 日韩精品亚洲专区| 精品国精品国产尤物美女| 国产高清亚洲一区| 国产精品伦理一区二区| 91玉足脚交白嫩脚丫在线播放| 国产精品久久久久三级| www.亚洲色图.com| 亚洲成人综合视频| 日韩一区二区影院| 国产精品一区二区三区乱码| 日本一区免费视频| 色综合中文字幕| 五月天中文字幕一区二区| 日韩免费看的电影| 国产69精品久久777的优势| 亚洲精品成人悠悠色影视| 这里只有精品99re| 国产美女一区二区三区| 亚洲免费观看高清在线观看| 欧美日韩高清一区二区三区|