Real_time_and_Multimedia_2b PTS The context for this quest…
Real_time_and_Multimedia_2b PTS The context for this question is the same as the previous question. 2. Consider two PTS channels, Ch1 and Ch2. The developer has defined the maximum number of items in each channel to be 5 (with the highest timestamps). Consider two threads T1 and T2 executing concurrently. Ch1 has 5 items with timestamps: 10, 20, 30, 40, 50. Ch2 has 4 items with timestamps: 2, 4, 6, 8. The two threads execute the same following code: = get(Ch1, “oldest”); processed-item = process(item); put(Ch2, processed-item, ts); (b) What does the developer have to do to ensure persistence of data in a PTS system?