Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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 ×î³õµÄÉè¼ÆÏàÐÅÏà¹Ø½ø³ÌÖ®¼äµÄÉÏÏÂÎÄÇл»ËٶȺܿ죬Òò´Ëÿ¸öÄÚºËÏß³Ì×ãÒÔ´¦ÀíºÜ¶àÏà¹ØµÄÓû§¼¶Ï̡߳£Õâ¾Íµ¼ÖÂÁËÒ»¶ÔÒ»
Ïß³ÌÄ£Ð͵


Ïà¹ØÎĵµ£º

LINUXÅäÖÃNFSºÍTFTP

     ÕâÁ½Ìì¸ÕÄõ½¿ª·¢°å£¬ÒªÅäÖÃLINIXÏÂÃæµÄµÄ±àÒë»·¾³¡£ÅäÖÃNFS·þÎñÆ÷ºÍTFTP,ÔÚÍíÉÏÓкܶàºÃÐĵÄÈË°Ñ×Ô¼ºÅäÖõĹý³Ì˵ÁËÒ»±é£¬µ«ÊÇÔÚʵ¼Ê²Ù×÷Öл¹ÊdzöÏֺܶàÎÊÌ⣬ÏÖÔÚ½«×Ô¼ºÕâÁ½ÌìµÄÅäÖùý³Ì×ܽáÈçÏ£¬Ï£Íû¶Ô´ó¼ÒÓÐËù°ïÖú£º
1¡¢NFS·þÎñ
     1£©ÔÚ¿Í»§¶ËÖÐÊäÈësetup->Syst ......

£Ûת£Ý¹¹Ôì c++ IDE(linux)

±¾ÎÄת×Ô£ºhttp://www.cnblogs.com/blueoceanli/archive/2009/04/27/1444491.html
(ÐÞ¸Ä~/.vimrc,ûÓд´½¨Ö®)
set encoding=utf-8
syntax enable
syntax on
filetype on
set tabstop=4
set softtabstop=4
set shiftwidth=4
set cindent
set autoindent
filetype plugin indent on
1.Alternate (http://www.vim ......

ÏÈ×°linux(ubuntu)ºó×°xpÐÞ¸´grub

×îºÃÊÇÏÈ×°XP£¬ºó×°LINUX£¬ÕâÊdz£Ê¶¡£Èç¹ûÒѾ­ÕâÑùÁË£¬×°ÍêXPºó¿Ï¶¨²»ÄÜÆô¶¯LINUX¡£
ÕâÐèÒªÓÃLINUX°²×°ÅÌÖØÐÂÐÞ¸´Æô¶¯ÏÖØдMBR£©¼°ÊÖ¹¤±à¼­LINUXµÄÆô¶¯²Ëµ¥
ϵͳÒýµ¼²»ÁËlinuxÁË£¬Ö»ÄܽøÈëxp;
²»ÊÇ°É£¬ÓÖÒªÖØ×°linux?
»Ø´ðÊÇ£º²»ÐèÒª;
ÏÂÃæ¾ÍÊǽâ¾ö·½°¸:
1.½øÈëxpϵͳ£»
2.°²×°wingrupÕâ¸öÈí¼þ;
3.ÖØÐÂÆô¶¯£¬Ñ¡Ô ......

Linuxϵͳµ÷ÓÃ

 ¹¦ÄÜÃèÊö£º
ÔÚÏûÏ¢¶ÓÁÐÉϽøÐÐÊÕ·¢ÏûÏ¢¡£ÎªÁË·¢ËÍÏûÏ¢£¬µ÷Óýø³Ì¶ÔÏûÏ¢¶ÓÁбØÐëÓÐдȨÄÜ¡£½ÓÊÕÏûϢʱ±ØÐëÓжÁȨÄÜ¡£
Ó÷¨£º 
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg);
ssize_t msgrcv ......

linuxÖÐoracleµÄÈÕ³£Î¬»¤ÃüÁî

1.  ¼ì²éOracleµÄ½ø³Ì
$  ps -ef|grep "ora_"|grep -v grep
  oracle  5998     1  0 11:15:59 ?        0:01 ora_j000_PPRD10
  oracle  2968     1  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ