一起答
单选

嵌入式Linux操作系统中任务的创建过程如下,以下说法正确的是(53)。

  void main( )

 { int pid;

   pid= fork( )

   if(pid>0)

     printf("parent task");

   else if(pid= =0)

     { printf("child task") ;

     execvp ("MyTash", NULL);

     }

 }

  • A.子任务的创建基于fork/exec模型
  • B.子任务的创建基于spawn模型
  • C.先为子任务分配内存空间,再分配相应的数据结构
  • D.直接为子任务分配一个全新的地址空间,然后再将其代码装入运行
参考答案
查看试卷详情
相关试题
  1. (74)

    • A.inconsistent
    • B.independent
    • C.interface
    • D.incompatible
  2. (75)

    • A.application software
    • B.eye-tracking device
    • C.application programs
    • D.vitual reality
  3. (73)

    • A.explicit
    • B.voice
    • C.implicit
    • D.special
  4. (72)

    • A.DBMS
    • B.application software
    • C.operating systems
    • D.GUI
  5. (70)

    • A.messages
    • B.packets
    • C.information
    • D.reengineering
  6. Although the bulk of industry resources and energies have focused on developing the fastest(71)or slickest(72), more and more mindshare is turning to the evolution of the computer interface. Advancements in the areas of input devices,(73)processing and vitual reality could lead to fundamental changes in the way human and computer interact. The technological battlefield of the future will be adding layers between the user and the raw machine to make the(74)as invisible as possible.(75)crepresents the next evolutionary step for the interface.

    • A.microprocessor
    • B.format
    • C.structure
    • D.procedure
  7. (69)

    • A.retrieval
    • B.route
    • C.path
    • D.save
  8. (67)

    • A.format
    • B.documents
    • C.text
    • D.network
  9. (68)

    • A.database
    • B.controller
    • C.lifecycle
    • D.center
  10. (65)

    • A.m<n-1
    • B.m<n-2
    • C.m>n-1
    • D.m>n-2