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

linux api±Ê¼Ç£¨4£©£ºỊ̈߳¨¶þ£©

ÕâÒ»½ÚÎÒÃÇÀ´¿´¿´ÆäËûÏ̺߳¯Êý£º
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Ö¸ÏòµÄÏß³ÌÊÇ·ñÒѾ­ÖÐÖ¹£¬Èç¹ûûÓÐÔò*thread_return == NULL,
·ñÔò²»ÎªNULL¡£Õâ¸öº¯Êý²»»á×èÈûÏ̡߳£
pthread_timedjoin_npÒ²ÊÇÓÃÀ´ÅжÏthread_handlerÖ´ÐеÄÏß³ÌÊÇ·ñÒѾ­ÖÐÖ¹£¬²»¹ýËüºÍpthread_tryjoin_np²»Í¬µÄ
µØ·½ÊÇ£¬Ëü»á×èÈûËùÔÚÏß³ÌÒ»¶Îʱ¼äÀ´µÈ´ýÄ¿±êỊ̈߳¬Õâ¸öʱ¼äÓÉabstime²ÎÊýÀ´Ö¸¶¨¡£
timespec½á¹¹µÄÈçÏ£º
#include <time.h>
struct timespec {
time_t tv_sec;
long tv_nsec;

×Ö¶Îtv_nsec±íʾÄÉÃë¡£


Ïà¹ØÎĵµ£º

linux °²×°Kmplayer²¥·ÅÆ÷


°²×°Kmplayer²¥·ÅÆ÷
£¨×÷Õß/l4nneret£©ÎªÁËÄÜÔÚ Linux ÏÂÒ²Äܲ¥·Å¶àýÌåÎļþ£¬ÓÚÊÇ°²×°¾Ý³ÆºÜÇ¿º·µÄ Kmplayer ²¥·ÅÆ÷¡£¹ý³ÌÈçÏ£ºÔÚ http://www.mplayerhq.hu/MPlayer/ ÕâÀï¿´µ½ Kmplayer µÄÖ÷³ÌÐòÒѾ­¸üе½ÁË 1.0rc2 °æ¡£
ÏÂÔØÖ÷³ÌÐò£ºMPlayer-1.0rc2.tar.bz2
Á½¸ö½âÂë°ü£ºall-20071007.tar.bz2 ºÍ windows-all-2007 ......

linuxÃüÁîÔ´ÂëµÄ²é¿´

ÔÚƽ³£µÄ×÷ÒµÖУ¬ÓÐʱºòÀÏʦÈÃ×Ô¼ºÊµÏÖÖîÈçcatµÈÀàµÄ³ÌÐò£¬ÓÐʱºò½ÐÓÃshellʵÏÖ£¬ÓÐʱºòÓÃcʵÏÖ£¬µ«ÊÇÎÒ¾­³£Ò»µãÍ·Ð÷¶¼Ã»ÓУ¬²»¹ýÎÒÏëµ½linux¿ªÔ´µÄ£¬ÃüÁî´úÂë¿ÉÒÔÄÃÀ´²Î¿¼Ï°¢£¬ËùÒÔÎÒ¾ÍÏë¿´¿´linuxÃüÁîµÄÔ´´úÂ룬ÓÚÊǾͿªÊ¼Á˰ڶɹ·¹·µÄËÑË÷¹ý³Ì¡£´Ó½á¹ûÀ´¿´£¬ÓÐÁ½ÖÖÇé¿ö£¬Ò»ÖÖÊǸøÓèrpmµÄ°üµÄÐÎʽ£»ÁíÒ»ÖÖÊÇ»ùÓÚdeb°üµÄÐ ......

linuxÁ´½ÓÎļþ

 Á´½ÓÎļþÓеãÀàËÆÓÚWindows µÄËùν¿ì½Ý·½Ê½£¬µ«²¢²»ÍêÈ«Ò»Ñù¡£Á´½ÓÓÐÁ½ÖÖ·½Ê½£¬ÈíÁ´½ÓºÍÓ²Á´½Ó¡£
¡¡¡¡ÈíÁ´½ÓÎļþ
¡¡¡¡ÈíÁ´½ÓÓֽзûºÅÁ´½Ó£¬Õâ¸öÎļþ°üº¬ÁËÁíÒ»¸öÎļþµÄ·¾¶Ãû¡£¿ÉÒÔÊÇÈÎÒâÎļþ»òĿ¼£¬¿ÉÒÔÁ´½Ó²»Í¬ÎļþϵͳµÄÎļþ¡£Á´½ÓÎļþÉõÖÁ¿ÉÒÔÁ´½Ó²»´æÔÚµÄÎļþ£¬Õâ¾Í²úÉúÒ»°ã³Æ֮Ϊ"¶ÏÁ´"µÄÎÊÌâ(»òÔ»“ÏÖ ......

linuxÖ®¼äһЩ²î±ð

redhatϵÁÐ(rhel,centos,fc) yum install package-name
debianϵÁÐ(debian,ubuntu)  apt-get install package-name
¶ÔÓÚ¿ª·¢°ü
redhat:  yum install python-devel
debian:  apt-get install python-dev
Ìí¼ÓÓû§
redhat:  useradd user-name
debian:  useradd -m user-name
debianϵÁÐÀï ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ