Select the correct option to test your answer:
More Computer Science Engineering Questions
What is the output of this program? #include<stdio.h> #include<pthread.h> #include<semaphore.h> sem_t st; void *fun_t(void *arg); void *fun_t(void *arg) { pthread_exit("Bye"); } int main() { pthread_t pt; void *res_t; if(pthread_create(&pt,NULL,fun_t,NULL) == -1) perror("pthread_create"); if(sem_init(st,1,2) != 0) perror("sem_init"); if(pthread_join(pt,&res_t) == -1) perror("pthread_join"); if(sem_destroy(&st) != 0) perror("sem_destroy"); return 0; }
The effective address of the following instruction is MUL 5(R1,R2).
The system administrator wants to make sure that users have access only to certain programs on their systems. Which actions accomplish this?
All device files are stored in which directory?
Which of the following is not real-time architectural patterns that are commonly used?