150k views
5 votes
In one program, two Pthreads, 1 and 2, run in parallel:

The binary semaphor sem_a is initialized to 1 and the other binary semaphores are initialized to 0 before the two threads are started. What does the program print? Explain?

1 Answer

3 votes

Answer:

binary numbers is the only language the computer understands

User NTyler
by
8.4k points