Question

Multiple Choice questions: 10) _____ is not considered a challenge when designing applications for multicore systems. A) Deciding which activities can be run in parallel B) Ensuring there is a sufficient

number of cores C) Determining if data can be separated so that it is accessed on separate cores D) Identifying data dependencies between tasks. 11) ____ is a thread library for Solaris that maps many user-level threads to one kernel thread. A) Pthreads B) Green threads C) Sthreads D) Java threads 12) Which of the following is a function that can be provided by Pthreads API for constructing a multithreaded program? A) pthread_attr_init B) pthread_create C) pthread_join D) all of the above 14) Which of the following options exist to deliver signals in multithreaded program? A) deliver the signal to the thread to which the signal applies B) deliver the signal to every thread in the process C) deliver the signal to certain threads in the process D) assign a specific thread to receive all signals for the process E) all of the above 15) In multithreaded programs, the kernel informs an application about certain events using a procedure known as a(n) ____. A) signal B) upcall C) event handler D) pool