Consider the dining philosophers problem and which of the below statements are TRUE to synchronize the philosophers problem. Assume there are ‘N’ philosophers.
- (N-1) philosophers should take the left fork and later right fork, and the remaining one philosophers should take right fork first and later left fork.
- Odd philosophers should follow left to right and even philosophers should follow right to left.
- Odd and even philosophers should follow the left to right fork.
(6)
Which of the following statement is true?1
only 1
2
only 2
3
only 1 and 2
4
only 2 and 3