linux api±Ê¼Ç£¨5£©£ºỊ̈߳¨Èý£©
ÕâÀï¼ÌÐøÉÏһƪ¹ØÓÚÏ̺߳¯ÊýµÄ½éÉÜ£º
int pthread_detach (pthread_t thread_handle);
Õâ¸öº¯ÊýµÄ×÷ÓÃÊÇÈÃthread_handleÖ¸ÏòµÄÄ¿±êÏß³ÌÔÚÖÐÖ¹µÄʱºòÇåÀí×Ô¼ºÓµÓеÄÊý¾Ý¡£ÔÚÕâ¸öº¯Êýµ÷ÓÃÖ®ºó£¬
²»ÄÜÔÙ¶Ôthread_handleʹÓÃpthread_join¡£
ÏÔ¶øÒ×¼ûµÄÊÇ£¬Èç¹ûÎÒÃÇûÓжÔд´½¨µÄÏ̵߳÷ÓÃpthread_detach£¬Õâ¸öÏß³ÌÔÚÔÚ½áÊøµÄʱºò²»»á×Ô¶¯ÇåÀí
Êý¾Ý£¬Ö»ÓÐÔÚpthread_joinµÄʱºò²Å»áÇåÀíÊý¾Ý¡£
Ïà¹ØÎĵµ£º
´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......
ǶÈëʽLinux¿ª·¢ÐèÒªµÄ²Î¿¼×ÊÁÏ
×÷Õߣº ¡¡À´Ô´ÓÚ£º ¡¡·¢²¼Ê±¼ä£º2008-10-6 20:45:00
Òýµ¼£º
ÈçÐè»ñµÃ¶Ô
vmlinux
ºÍ
zimage
Ö®¼äÇø±ðµÄ¼«ºÃ½âÊÍ£¬ÇëÔÚ
Alessandro Rubini
±àдµÄ
“
Kernel Configuration: dealing with the unexpected
£¨
Linux Magazine
£©µÄÒ»ÎÄÖÐÕÒµ½
&ld ......
ÕÛÌÚÁË´ó°ëÌ춼ÖÕ°Ñtuxedo°²×°£¬²¢Ð´ºÃµÚÒ»¸öÀý×Ó£¬¼´È»°²×°¿ÉÒÔʹÓÃUIµÄ·½Ê½½øÐа²×°£¬°²×°Íê³ÉºóÒª½øÐл·¾³±äÁ¿µÄÅäÖ㬰ÑtuxedoĿ¼ÖеÄtux.envµÄÅäÖã¬Ìí¼Óµ½/home/oracle/.bash_profile£¬ÒòΪÎÒÊÇÒÔoracleÓû§À´°²×°oracle ºÍtuxedo µÄ¡£
·þÎñÆ÷¶Ë´úÂësimpserv.c:
#include <stdio.h>
#include <ctyp ......
¸ñʽ:ls [options] [filename]
×÷ÓÃ:ÏÔʾĿ¼ÄÚÈÝ,ÀàËÆdosµÄdir
³£ÓòÎÊý:
-a ²»Òþ²ØÈκÎÒÔ"."×Ö·û¿ªÊ¼µÄÎļþ
-l ʹÓýϳ¤µÄ¸ñʽÏÔʾÐÅÏ¢
-r °´ÕÕÎļþÃûµÄÄæÐò´òÓ¡Êä³ö
-F ¼ÓÉÏÎļþÀàÐ͵Äָʾ·û
¸ñʽ:cat [options] [filename]
×÷ÓÃ:ÏÔʾÎļþµÄÄÚÈÝ,ÊÇconcat ......
ÕâÒ»½ÚÎÒÃÇÀ´¿´¿´ÆäËûÏ̺߳¯Êý£º
int pthread_tryjoin_np(pthread_t thread_handle, void ** thread_return);
int pthread_timedjoin_np (pthread_t thread_handle, void **thread_return, __const struct timespec *abstime);
pthread_tryjoin_np»á¿ÉÒÔÓÃÀ´ÅжÏthread_handleÖ¸ÏòµÄÏß³ÌÊÇ·ñÒѾÖÐÖ¹£¬Èç¹ûûÓÐÔò*thre ......