正在加载图片...
●●● ●●●● 4.4 Threading Issues ●●●●● ●●●● ●●●0● ●●●0 o The forko and execO system calls Two versions of fork in UNIX systems o To duplicate all the threads o To only duplicate the thread that invoked the fork( system call o Which of the two versions of forko to use If exec( is called immediately after forking, then only to duplicate the calling threads o If execo is not called after forking then to duplicate all threads23 4.4 Threading Issues ⚫ The fork() and exec() system calls ⚫ Two versions of fork() in UNIX systems ⚫ To duplicate all the threads ⚫ To only duplicate the thread that invoked the fork() system call ⚫ Which of the two versions of fork() to use ⚫ If exec() is called immediately after forking, then only to duplicate the calling threads ⚫ If exec() is not called after forking, then to duplicate all threads
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有