Linux¶à½ø³Ì¶àÏ̱߳à³Ì
´´½¨Ëĸö×Ó½ø³Ì£¨²¢ÁУ©£¬Ã¿¸ö×Ó½ø³Ì·Ö±ð´´½¨Á½¸ö×ÓỊ̈߳¬¿ÉÖ»Ìṩ¼òµ¥µÄ´òÓ¡Óï¾ä £¨ÒòΪ³õѧ£¬Ê²Ã´Ò²²»»á£©
´´½¨ºÃ½ø³ÌºóÊÇÖ±½ÓÓÃpthread_creat()´´½¨×ÓỊ̈߳¬»¹ÊÇÒªµ÷ÓÃexec,ÔÚ´´½¨×ÓÏß³Ì?
Ïß³Ìid pthread_tÀàÐ굀 ÓÃʲôÓï¾äÊä³ö ÎÒÓã¥d »á¾¯¸æ ¶øÇÒÊä³ö¸ºµÄ ºÜ³¤µÄÊýÖµ
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>
#include <stdlib.h>
#include <sys/wait.h>
int * thread1 (void *arg)
{pthread_t newthid;
newthid=pthread_self();
printf("t1%d\n", newthid);
return NULL;
}
int * thread2 (void *arg)
{
printf ("t2 \n");
return NULL;
}
int * thread3 (void *arg)
{
printf ("t3 \n");
return NULL;
}
int * thread4 (void *arg)
{
printf ("t4\n");
return NULL;
}
int * thread5 (void *arg)
{
printf("t5\n");
return NULL;
}
int * thread6 (void *arg)
{
printf ("t6\n");
return NULL;
}
int * thread7 (void *arg)
{
printf("t7\n");
return NULL;
}
int * thread8 (void *arg)
{
printf ("t8\n");
return NULL;
Ïà¹ØÎÊ´ð£º
ÎÒÖ®Ç°ÖÆ×÷µÄlinux×Ô¶¯°²×°isoÒѾ³É¹¦ÁË£¬ÏÖÔÚÏë¶ÔÆä½øÐÐһЩ¶¨ÖÆÐ޸쬱ÈÈ磬¸ü¸ÄgrubͼƬµÈ¡£
ÎÒÔÚks.cfgµÄ%post¶ÎÀïÃæÊÇÕâÑùдµÄ£º
%post --nochroot
# Move the contents of the tar into their new locati ......
ÓÐʲôºÃµÄLinux½Ì³ÌÂð£¿
СµÜл¹ý~
[ÎÊÌâµãÊý:0·Ö]
google
¾Ý˵Äñ¸çµÄ˽·¿²Ë²»´í¡£
Äñ¸çµÄLinux˽·¿²Ë
¸ü¶àµÄÔÙÕâÉÏÃæÈ¥ËÑË÷һϺÜLIUNXÊé¼®»¹²»´í
ÒýÓÃ
google
Õý½â
Äñ¸çµÄLinux˽·¿²Ë ......
Ó¦ÓÃϵͳÊǰ²×°ÔÚ /opt Ŀ¼Ï£¬/opt Ŀ¼ÊÇÊôÓÚ¸ùĿ¼ / ϵġ£ÁíÍâÒ»¸öÎļþϵͳµÄ¹ÒÔØµãÊÇÔÚ/aaaĿ¼Ï£¬¿É·ñ½«/optĿ¼ÏµÄËùÓÐÎļþcopyµ½/aaaĿ¼Ï£¬umount ÔÚ/aaaĿ¼ÏµĹÒÔØµã£¬½«/aaa¸ÄÃû/optĿ¼£¬ÔÙ½«ÔÀ ......
ÔÚlinuxÏÂдµÄһЩС³ÌÐòºÍ½Å²½£¬Ã¿´ÎÒªÔËÐж¼ÓÐÇл»µ½ËüËùÔÚµÄĿ¼£¬
ÔõÑùÈÃËüÔÚÆäËûĿ¼Ҳ¿ÉÒÔÓÃÄØ£¿¾ÍÈçÓÃvi»òlsÕâЩÃüÁîÒ»Ñù
³¢ÊÔ¹ýÌí¼Ó»·¾³±äÁ¿£¬µ«²»³É¹¦£¬²»¶®
ûÓÐÈ˻شð
ÏñviÄÇЩ£¬ËüÃÇËùÔÚµÄĿ¼¶¼Å ......
linux ÏÂC±à³Ì ¼¯³É¿ª·¢»·¾³ ÓÃʲô±È½ÏºÃ
ÎÒ³õ²½Ñ¡¶¨ codeblock
ºÇºÇ »¹ÓÐ ÔÚlinux дÁËÒ»¸ö´òÓ¡ÖÐÎĵĴúÂ룬¶ø½ñÌìÔÚwindows ϲ鿴ÄǸö´úÂë £¬ ÊÇÂÒÂë ¶øºóÏëµ½ÏÈÓà EditPlusÏȽøÐб༠Ȼºó¸´ÖÆ ......