Answer the following statements true (T) or false (F)

1. Only one thread within a process can be executing at a given moment in time.
2. Thread synchronization means making sure all threads get equal amounts of CPU time.
3. Mutual exclusion locking is used to avoid data inconsistencies
4. Thread deadlock occurs when a thread is unable to unlock a mutual exclusion lock
5. A thread can deadlock with itself.

1. [True]
2. [False]
3. [True]
4. [False]
5. [True]

Computer Science & Information Technology

You might also like to view...

If you want every one of the comparison criteria that you specify to be true, you would use the:

A) Or operator. B) And operator. C) Comparison operator. D) Equals operator.

Computer Science & Information Technology

Alice is telling Bob that he should use a pair of the form (3, n) or (16385, n) as his RSA public key, where, as usual, n = pq, for two large primes, p and q, if he wants people to encrypt messages for him from their cell phones. What is the justification for Alice's advice?

What will be an ideal response?

Computer Science & Information Technology