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

linuxÄÚºËÖÐ×î³£¼ûµÄËøÊÇ×ÔÐýËø

 linuxÄÚºËÖÐ×î³£¼ûµÄËøÊÇ×ÔÐýËø(spin lock)¡£×ÔÐýËø×î¶àÖ»Äܱ»Ò»¸ö¿ÉÖ´ÐÐÏ̳߳ÖÓС£Èç¹ûÒ»¸öÖ´ÐÐÏß³ÌÊÔͼ»ñµÃÒ»¸ö±»ÕùÓõÄ×ÔÐýËø£¬ÄÇô¸ÃÏ߳̾ͻáÒ»Ö±½øÐÐæѭ»·µÈ´ýËøÖØпÉÓá£ÒªÊÇËøδ±»ÕùÓã¬ÇëÇóËøµÄÖ´ÐÐÏ̱߳ãÄÜÁ¢¿ÌµÃµ½Ëü£¬¼ÌÐøÖ´ÐС£ÔÚÈÎÒâʱ¼ä£¬×ÔÐýËø¶¼¿ÉÒÔ·ÀÖ¹¶àÓÚÒ»¸öµÄÖ´ÐÐÏß³Ìͬʱ½øÈëÁÙ½çÇø¡£
      Ò»¸ö±»ÕýÓõÄ×ÔÐýËøʹµÃÇëÇóËüµÄÏß³ÌÔڵȴýËøÖØпÉÓÃʱ×ÔÐý£¨ÌرðÀË·Ñ´¦ÀíÆ÷ʱ¼ä£©£¬ÕâÖÖÐÐΪÊÇ×ÔÐýËøµÄÌص㡣×ÔÐýËø²»Ó¦¸Ã±»³¤Ê±¼ä³ÖÓС£³ÖÓÐ×ÔÐýËøµÄʱ¼ä×îºÃСÓÚÍê³ÉÁ½´ÎÉÏÏÂÎÄÇл»µÄµÄʱ¼ä¡£
     ×ÔÐýËøµÄʵÏÖºÍÌåϵ½á¹¹ÃÜÇÐÏà¹Ø£¬´úÂëÍùÍùʹÓûã±àʵÏÖ¡£
     ÒòΪ×ÔÐýËøÔÚͬһʱ¿ÌÖÁ¶à±»Ò»¸öÖ´ÐÐÏ̳߳ÖÓУ¬ËùÒÔÒ»¸öʱ¿ÌÖ»ÄÜÓÐÒ»¸öÏß³ÌλÓÚÁÙ½çÇøÄÚ£¬Õâ¾ÍΪ¶à´¦ÀíÆ÷ÌṩÁË·ÀÖ¹²¢·¢·ÃÎÊËùÐèÒªµÄ°üº¬»úÖÆ¡£ÔÚµ¥´¦ÀíÆ÷»úÆ÷ÉÏ£¬±àÒëµÄʱºò²¢²»»á¼ÓÈë×ÔÐýËø¡£
     ×ÔÐýËø²»Äܵݹ飡
×ÔÐýËø¿ÉÒÔʹÓÃÔÚÖжϴ¦Àí³ÌÐòÖÐ(´Ë´¦²»ÄÜʹÓÃÐźÅÁ¿£¬ÒòΪËü»áµ¼ÖÂ˯Ãß)¡£ÔÚÖжϴ¦Àí³ÌÐòÖÐʹÓÃ×ÔÐýËøʱ£¬Ò»¶¨ÒªÔÚ»ñÈ¡Ëø֮ǰ£¬Ê×ÏȽû±¾µØÖжϣ¨ÔÚµ±Ç°´¦ÀíÆ÷ÉϵÄÖжÏÇëÇ󣩣¬·ñÔò£¬Öжϴ¦Àí³ÌÐò¾Í»á´ò¶ÏÕý³ÖÓÐËøµÄÄں˴úÂ룬ÓпÉÄÜ»áÊÔͼȥÕùÓÃÕâ¸öÒѾ­±»³ÖÓеÄ×ÔÐýËø¡£×¢Ò⣬ÐèÒª¹Ø±ÕµÄÖ»Êǵ±Ç°´¦ÀíÆ÷ÉϵÄÖжϣ¬ÒòΪÈç¹ûÖжϷ¢ÉúÔÚ²»Í¬µÄ´¦ÀíÆ÷ÉÏ£¬¼´Ê¹Öжϴ¦Àí³ÌÐòÔÚͬһËøÉϵÄ×ÔÐý£¬Ò²²»»á·Á°­ËøµÄ³ÖÓÐÕß×îÖÕÊÍ·ÅËø¡£
  ÏÂÃæÊÇÏà¹ØÎļþÈçÏ£º
/*
 * include/linux/spinlock.h - generic spinlock/rwlock declarations
 *
 * here's the role of the various spinlock/rwlock related include files:
 *
 * on SMP builds:
 *
 *  asm/spinlock_types.h: contains the raw_spinlock_t/raw_rwlock_t and the
 *                        initializers
 *
 *  linux/spinlock_types.h:
 *                        defines the generic type and initializers
 *
 *  asm/spinloc


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

LinuxÎļþ²éÕÒÃüÁîfind,xargsÏêÊö

×ܽ᣺zhy2111314
À´×Ô£ºLinuxSir.Org
ÕûÀí£º±±ÄÏÄϱ±
ÕªÒª£º ±¾ÎÄÊÇfind ÃüÁîµÄÏêϸ˵Ã÷£¬¿É¹óµÄÊÇÕë¶Ô²ÎÊý¾ÙÁ˺ܶàµÄʵÀý£¬´óÁ¿µÄÀýÖ¤£¬ÈóõѧÕ߸üΪÈÝÒ×Àí½â£»±¾ÎÄÊÇzhyflyÐÖÌùÔÚÂÛ̳ÖУ»ÎÒ¶Ô±¾ÎĽøÐÐÁËÔÙ´ÎÕûÀí£¬Îª·½±ã´ó¼ÒÔĶÁ£»
Ŀ¼
°æȨÉùÃ÷
Ç°ÑÔ£º¹ØÓÚfindÃüÁî
Ò»¡¢find ÃüÁî¸ñʽ
1¡¢findÃüÁîµÄÒ»°ãÐÎʽΪ ......

Linux, Unix, Windows Ö®¼äÇø±ð

LinuxºÍWindowsµÄÇø±ð
ºÍLinuxÒ»Ñù£¬WindowsϵÁÐÊÇÍêÈ«µÄ¶àÈÎÎñ²Ù×÷ϵͳ¡£ËüÃÇÖ§³ÖͬÑùµÄÓû§½Ó¿Ú¡¢ÍøÂçºÍ°²È«ÐÔ¡£µ«ÊÇ£¬LinuxºÍWindowsµÄÕæÕýÇø±ðÔÚÓÚ£¬LinuxÊÂʵÉÏÊÇUnixµÄÒ»ÖÖ°æ±¾£¬¶øÇÒÀ´×ÔUnixµÄ¹±Ï׷dz£¾Þ´ó¡£ÊÇʲôʹµÃUnixÈç´ËÖØÒª£¿²»½öÔÚÓÚ¶Ô¶àÓû§»úÆ÷À´Ëµ£¬UnixÊÇ×îÁ÷ÐеIJÙ×÷ϵͳ£¬¶øÇÒÔÚÓÚËüÊÇÃâ·ÑÈí¼þµÄ»ù´ ......

linuxϲ鿴nginx£¬apache£¬mysql£¬phpµÄ±àÒë²ÎÊý

ÓÐʱºònginx£¬apache£¬mysql£¬php±àÒëÍêÁËÏë¿´¿´±àÒë²ÎÊý¿ÉÒÔÓÃÒÔÏ·½·¨
nginx±àÒë²ÎÊý£º
#/usr/local/nginx/sbin/nginx -V
CODE:
nginx version: nginx/0.6.32
built by gcc 4.1.2 20071124 (Red Hat 4.1.2-42)
configure arguments: --user=www --group=www --prefix=/usr/local/nginx/ --with-http_stub_status_mo ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ