LinuxThreads glibcã«å®è£ ããã¦ããã¹ã¬ãã Kernel2.0ãããµãã¼ããããããã«ãªã£ã__clone() ã·ã¹ãã ã³ã¼ã«ãå©ç¨ãããã¨ã«ãã£ã¦ãã«ã¼ãã«ã¬ãã«ã¹ã¬ãããå©ç¨å¯è½ã«ãªã£ãã å®éã«ããã® __clone() ãå©ç¨ãã¦ä½æãããPthread ã©ã¤ãã©ãªã§ãã linuxthreads (glibcç)ã®ã½ã¼ã¹ã³ã¼ãã«ã¯ã以ä¸ã®ãããªè¨è¿°ãè¦ã¤ãããã¨ãã§ããã /* Do the cloning */ pid = __clone(pthread_start_thread, (void **) new_thread, CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGHAND | __pthread_sig_cancel, new_thread); ãã®ã·ã¹ãã ã³ã¼ã«ã¯ Linux ã«åºæã§ãããã¹ã£ãã㨠Li
{{#tags}}- {{label}}
{{/tags}}