Linux Ïß³ÌÄ£Ð͵ıȽϣºLinuxThreads ºÍ NPTL
Õª×Ô£ºhttp://www.ibm.com/developerworks/cn/linux/l-threading.html
LinuxThreads ÏîÄ¿×î³õ½«¶àÏ̵߳ĸÅÄîÒýÈëÁË Linux®£¬µ«ÊÇ LinuxThreads ²¢²»×ñÊØ
POSIX Ï̱߳ê×¼¡£¾¡¹Ü¸üÐ嵀 Native POSIX Thread
Library£¨NPTL£©¿âÌî²¹ÁËһЩ¿Õ°×£¬µ«ÊÇÕâÈÔÈ»´æÔÚһЩÎÊÌâ¡£±¾ÎÄΪÄÇЩÐèÒª½«×Ô¼ºµÄÓ¦ÓóÌÐò´Ó LinuxThreads ÒÆÖ²µ½
NPTL ÉÏ»òÕßÖ»ÊÇÏ£ÍûÀí½âÓкÎÇø±ðµÄ¿ª·¢ÈËÔ±½éÉÜÕâÁ½ÖÖ Linux Ïß³ÌÄ£ÐÍÖ®¼äµÄÇø±ð¡£
µ± Linux ×î³õ¿ª·¢Ê±£¬ÔÚÄÚºËÖв¢²»ÄÜÕæÕýÖ§³ÖÏ̡߳£µ«ÊÇËüµÄÈ·¿ÉÒÔͨ¹ý clone()
ϵͳµ÷Óý«½ø³Ì×÷Ϊ¿Éµ÷¶ÈµÄʵÌå¡£Õâ¸öµ÷Óô´½¨Á˵÷Óýø³Ì£¨calling
process£©µÄÒ»¸ö¿½±´£¬Õâ¸ö¿½±´Óëµ÷Óýø³Ì¹²ÏíÏàͬµÄµØÖ·¿Õ¼ä¡£LinuxThreads
ÏîĿʹÓÃÕâ¸öµ÷ÓÃÀ´ÍêÈ«ÔÚÓû§¿Õ¼äÄ£Äâ¶ÔÏ̵߳ÄÖ§³Ö¡£²»ÐÒµÄÊÇ£¬ÕâÖÖ·½·¨ÓÐһЩȱµã£¬ÓÈÆäÊÇÔÚÐźŴ¦Àí¡¢µ÷¶ÈºÍ½ø³Ì¼äͬ²½ÔÓï·½Ã涼´æÔÚÎÊÌâ¡£ÁíÍ⣬Õâ¸ö
Ïß³ÌÄ£ÐÍÒ²²»·ûºÏ POSIX µÄÒªÇó¡£
Òª¸Ä½ø LinuxThreads£¬·Ç³£Ã÷ÏÔÎÒÃÇÐèÒªÄں˵ÄÖ§³Ö£¬²¢ÇÒÐèÒªÖØдÏ߳̿⡣ÓÐÁ½¸öÏ໥¾ºÕùµÄÏîÄ¿¿ªÊ¼À´Âú×ãÕâЩҪÇó¡£Ò»¸ö°üÀ¨
IBM µÄ¿ª·¢ÈËÔ±µÄÍŶӿªÕ¹ÁË NGPT£¨Next-Generation POSIX Threads£©ÏîÄ¿¡£Í¬Ê±£¬Red Hat
µÄһЩ¿ª·¢ÈËÔ±¿ªÕ¹ÁË NPTL ÏîÄ¿¡£NGPT ÔÚ 2003 ÄêÖÐÆÚ±»·ÅÆúÁË£¬°ÑÕâ¸öÁìÓòÍêÈ«Áô¸øÁË NPTL¡£
¾¡¹Ü´Ó LinuxThreads µ½ NPTL ¿´ÆðÀ´ËƺõÊÇÒ»¸ö±ØÈ»µÄ¹ý³Ì£¬µ«ÊÇÈç¹ûÄúÕýÔÚΪһ¸öÀúÊ·ÓÆ¾ÃµÄ Linux
·¢Ðаæά»¤Ò»Ð©Ó¦ÓóÌÐò£¬²¢ÇҼƻ®ºÜ¿ì¾ÍÒª½øÐÐÉý¼¶£¬ÄÇôÈçºÎǨÒƵ½ NPTL
ÉϾͻá±ä³ÉÕû¸öÒÆÖ²¹ý³ÌÖÐÖØÒªµÄÒ»¸ö²¿·Ö¡£ÁíÍ⣬ÎÒÃÇ¿ÉÄÜ»áÏ£ÍûÁ˽â¶þÕßÖ®¼äµÄÇø±ð£¬ÕâÑù¾Í¿ÉÒÔ¶Ô×Ô¼ºµÄÓ¦ÓóÌÐò½øÐÐÉè¼Æ£¬Ê¹ÆäÄܹ»¸üºÃµØÀûÓÃÕâÁ½ÖÖ¼¼
Êõ¡£
±¾ÎÄÏêϸ½éÉÜÁËÕâЩÏß³ÌÄ£ÐÍ·Ö±ðÊÇÔÚÄÄЩ·¢ÐаæÉÏʵÏֵġ£
LinuxThreads Éè¼Æϸ½Ú
Ïß³Ì
½«Ó¦ÓóÌÐò»®·Ö³ÉÒ»¸ö»ò¶à¸öͬʱÔËÐеÄÈÎÎñ¡£Ïß³ÌÓ봫ͳµÄ¶àÈÎÎñ½ø³Ì
Ö®¼äµÄÇø±ðÔÚÓÚ£ºÏ̹߳²ÏíµÄÊǵ¥¸ö½ø³ÌµÄ״̬ÐÅÏ¢£¬²¢»áÖ±½Ó¹²ÏíÄÚ´æºÍÆäËû×ÊÔ´¡£Í¬Ò»¸ö½ø³ÌÖÐÏß³ÌÖ®¼äµÄÉÏÏÂÎÄÇл»Í¨³£Òª±È½ø³ÌÖ®¼äµÄÉÏÏÂÎÄÇл»Ëٶȸü
¿ì¡£Òò´Ë£¬¶àÏ̳߳ÌÐòµÄÓŵã¾ÍÊÇËü¿ÉÒԱȶà½ø³ÌÓ¦ÓóÌÐòµÄÖ´ÐÐËٶȸü¿ì¡£ÁíÍ⣬ʹÓÃÏß³ÌÎÒÃÇ¿ÉÒÔʵÏÖ²¢Ðд¦Àí¡£ÕâЩÏà¶ÔÓÚ»ùÓÚ½ø³ÌµÄ·½·¨Ëù¾ßÓеÄÓŵãÍƶ¯
ÁË LinuxThreads µÄʵÏÖ¡£
LinuxThreads ×î³õµÄÉè¼ÆÏàÐÅÏà¹Ø½ø³ÌÖ®¼äµÄÉÏÏÂÎÄÇл»ËٶȺܿ죬Òò´Ëÿ¸öÄÚºËÏß³Ì×ãÒÔ´¦ÀíºÜ¶àÏà¹ØµÄÓû§¼¶Ï̡߳£Õâ¾Íµ¼ÖÂÁËÒ»¶ÔÒ»
Ïß³ÌÄ£Ð͵
Ïà¹ØÎĵµ£º
ÕâÁ½Ìì¸ÕÄõ½¿ª·¢°å£¬ÒªÅäÖÃLINIXÏÂÃæµÄµÄ±àÒë»·¾³¡£ÅäÖÃNFS·þÎñÆ÷ºÍTFTP,ÔÚÍíÉÏÓкܶàºÃÐĵÄÈË°Ñ×Ô¼ºÅäÖõĹý³Ì˵ÁËÒ»±é£¬µ«ÊÇÔÚʵ¼Ê²Ù×÷Öл¹ÊdzöÏֺܶàÎÊÌ⣬ÏÖÔÚ½«×Ô¼ºÕâÁ½ÌìµÄÅäÖùý³Ì×ܽáÈçÏ£¬Ï£Íû¶Ô´ó¼ÒÓÐËù°ïÖú£º
1¡¢NFS·þÎñ
1£©ÔÚ¿Í»§¶ËÖÐÊäÈësetup->Syst ......
ÎÒ²»Ì«Ï²»¶linuxÁË£¬ËäÈ»ÎÒÔÚËûÉÏÃæ¶Ï¶ÏÐøÐøµÄ»¨¹ýһЩʱ¼ä£¬ÏÖÔÚ»ØÍ·À´¿´£¬ËüÒ²ÈÃÎÒÀË·ÑÁ˺ܶàµÄʱ¼ä£¬linuxÂÒÆß°ËÔãµÄÅäÖã¬Èí¼þµÄȱ·¦ÁîÎҺܲ»ÊÊ´Ó£¬¶øÇÒËüÒ²²»ÄÜʹÎÒ°ÑÖ÷ÒªµÄ¾Àú¼¯ÖÐÔÚÕæÕý¸ÐÐËȤµÄµØ·½£¬¶ø²»ÊÇΪÁË“Õ÷·þ”linuxÕ´Õ´×Ôϲ£¬ÎÒ²»Ï²»¶ÕâÑùµÄlinux£¬ÕâÑùµÄlinuxÌ«³ÌÐòÔ±»¯ÁË¡£ÎÒΪʲôҪ¶ÁÄÇЩ ......
×îºÃÊÇÏÈ×°XP£¬ºó×°LINUX£¬ÕâÊdz£Ê¶¡£Èç¹ûÒѾÕâÑùÁË£¬×°ÍêXPºó¿Ï¶¨²»ÄÜÆô¶¯LINUX¡£
ÕâÐèÒªÓÃLINUX°²×°ÅÌÖØÐÂÐÞ¸´Æô¶¯ÏÖØдMBR£©¼°ÊÖ¹¤±à¼LINUXµÄÆô¶¯²Ëµ¥
ϵͳÒýµ¼²»ÁËlinuxÁË£¬Ö»ÄܽøÈëxp;
²»ÊÇ°É£¬ÓÖÒªÖØ×°linux?
»Ø´ðÊÇ£º²»ÐèÒª;
ÏÂÃæ¾ÍÊǽâ¾ö·½°¸:
1.½øÈëxpϵͳ£»
2.°²×°wingrupÕâ¸öÈí¼þ;
3.ÖØÐÂÆô¶¯£¬Ñ¡Ô ......
Linux·þÎñ£¨Linux services£©¶ÔÓÚÿ¸öÓ¦ÓÃLinuxµÄÓû§À´Ëµ¶¼ºÜÖØÒª¡£¹Ø±Õ²»ÐèÒªµÄ·þÎñ£¬¿ÉÒÔÈÃLinuxÔËÐеĸü¸ßЧ£¬µ«²¢²»ÊÇËùÓеÄLinux·þÎñ¶¼¿ÉÒԹرա£½ñÌì°²×°ÁËÒ»´ÎCentOs Linux£¬·¢ÏÖLinuxÆô¶¯µÄʱºòÆô¶¯Á˺öà·þÎñ£¬´ó²¿·Ö¶¼²»ÖªµÀÊǸÉʲôµÄ¡£Òò´Ë×ÅÖØÁ˽âÁËÒ»ÏÂÄÇЩLinux·þÎñ£¨Linux services£©¿ÉÒԹرգ¬ÄÇЩLinux· ......
1.Ò»´Î¿ª»ú£¬ÓôÃÆ£¬·¢ÏÖ~Ŀ¼ÏÂÓÐÒ»¸ö³¤ÎļþÃûµÄÂÒÂëÎļþ£¬Ôõôɾ¶¼É¾²»µô£¬Ä¿Â¼Ò²²»ÄÜɾ¡£×îºóÏëÁËÒ»¸ö±¿·½·¨É¾µôÁË
ÏÈÔÚ¸ÃĿ¼ÏÂmkdir zz È»ºó mv *.* zz OK£¬È»ºórm -rf zzÎļþ¼Ð¾ÍÐÐÁË¡£ºÇºÇ ......